aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/publish.el b/publish.el
index 09a72b2..c6469dd 100644
--- a/publish.el
+++ b/publish.el
@@ -73,6 +73,8 @@
(if (equal "rss.org" (file-name-nondirectory filename))
(org-rss-publish-to-rss plist filename dir)))
+(defvar jj/html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>")
+
(setq org-html-htmlize-output-type 'css)
(setq org-html-postamble 'create-webring-html)
(setq org-publish-project-alist
@@ -87,7 +89,7 @@
:headline-levels 4
:section-numbers nil
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
- :html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>")
+ :html-preamble ,jj/html-preamble)
("org-static-website"
:base-directory "~/website/"
:base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"