aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/"