From 0d881e26969952a0564f6863db7605e0d2abeea3 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 10 Dec 2012 02:15:39 +0100 Subject: [PATCH] Change some project settings Don't use timestamps, don't ask for confirmation when executing code blocks, remove the "org-blog" project, change the publishing directory to a local directory, link to the online stylesheet, set all default "up" links to `../' and all default "home" links to http://ryuslash.org. --- .dir-locals.el | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index 80e5aca..e9eddb2 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,32 +1,18 @@ ((nil . ((org-export-html-inline-images . t) (org-export-htmlize-output-type . css) + (org-publish-use-timestamps-flag . nil) + (org-confirm-babel-evaluate . nil) (org-publish-project-alist - . (("oni-blog" - :base-directory "~/code/projects/orgweb/blog/" - :publishing-directory "/ssh:slash@ryuslash.org:/srv/http/blog/" - :base-extension "org" - :publishing-function org-publish-org-to-blog - :blog-title "oni blog" - :blog-description "Another org blog test" - :blog-export-rss t - :blog-url "http://ryuslash.ninth.su/blog/" - :index-title "oni blog" - :recursive nil - :section-numbers nil - :style-include-default nil - :author-info nil - :creator-info nil - :style "") - ("oni-files" - :base-directory "~/code/projects/orgweb/site/" - :publishing-directory "/ssh:slash@ryuslash.org:/srv/http/" + . (("oni-files" + :base-directory "~/var/src/orgweb/site/" + :publishing-directory "~/var/src/orgweb/_publish/" :recursive t :base-extension "css\\|png" :publishing-function org-publish-attachment) ("oni-org" - :base-directory "~/code/projects/orgweb/site/" - :publishing-directory "/ssh:slash@ryuslash.org:/srv/http/" + :base-directory "~/var/src/orgweb/site/" + :publishing-directory "~/var/src/orgweb/_publish/" :recursive t :base-extension "org" :publishing-function org-publish-org-to-html @@ -34,8 +20,10 @@ :style-include-default nil :author-info nil :creator-info nil - :style "") + :style "" + :link-up "../" + :link-home "http://ryuslash.org") ("oni" - :components ("oni-org" "oni-files" "oni-blog")))) + :components ("oni-org" "oni-files")))) (org-link-abbrev-alist . (("emacs" . "http://www.gnu.org/software/emacs/"))))))