aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-03-19 20:37:22 -0700
committerGravatar Tom Willemse2020-03-19 20:38:13 -0700
commit099356512ed776c59b986ffa4e7a5411f019dab2 (patch)
tree66fc99dbcde71d751fd6c2916c3914700d9a5a85
parent077938588b3b1e4b79bbabca128ba52d429aa40a (diff)
downloadnew-ryuslash.org-099356512ed776c59b986ffa4e7a5411f019dab2.tar.gz
new-ryuslash.org-099356512ed776c59b986ffa4e7a5411f019dab2.zip
Move org-timestamps directory to project
I prefer keeping everything local so nothing can interfere with one another.
-rw-r--r--.gitignore1
-rw-r--r--GNUmakefile2
-rw-r--r--publish.el3
3 files changed, 5 insertions, 1 deletions
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/"