From 099356512ed776c59b986ffa4e7a5411f019dab2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 19 Mar 2020 20:37:22 -0700 Subject: Move org-timestamps directory to project I prefer keeping everything local so nothing can interfere with one another. --- .gitignore | 1 + GNUmakefile | 2 +- publish.el | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 70ffdef..ab55d4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.cask /public +/.org-timestamps /posts/index.org* diff --git a/GNUmakefile b/GNUmakefile index d459d94..0f7d160 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -15,4 +15,4 @@ clean: @echo "Cleaning up..." @rm -rvf *.elc @rm -rvf public - @rm -rvf ~/.org-timestamps/* + @rm -rvf .org-timestamps diff --git a/publish.el b/publish.el index a6d5220..305e8c3 100644 --- a/publish.el +++ b/publish.el @@ -84,6 +84,9 @@ STYLE is ignored and PROJECT is passed on directly to related functions." (setq org-html-htmlize-output-type 'css) +(setq org-publish-timestamp-directory + (concat default-directory "/.org-timestamps/")) + (setq org-publish-project-alist '(("posts" :base-directory "posts/" -- cgit v1.2.3-54-g00ecf