summaryrefslogtreecommitdiffstats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-10 02:15:39 +0100
committerGravatar Tom Willemsen2012-12-10 02:15:39 +0100
commit0d881e26969952a0564f6863db7605e0d2abeea3 (patch)
tree504e08c45177b98ce591dde7771eafc57ccff53b /.dir-locals.el
parentfd30a6de7149508d1fdbefb00468545b990956eb (diff)
downloadorgweb-0d881e26969952a0564f6863db7605e0d2abeea3.tar.gz
orgweb-0d881e26969952a0564f6863db7605e0d2abeea3.zip
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.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el34
1 files 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 "<link rel=\"stylesheet\" type=\"text/css\" href=\"/stylesheet.css\" />")
- ("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 "<link rel=\"stylesheet\" type=\"text/css\" href=\"/stylesheet.css\" />")
+ :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://ryuslash.ninth.su/stylesheet.css\" />"
+ :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/"))))))