diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-29 11:35:03 -0600 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-29 11:35:03 -0600 |
commit | 397e72243ecf917eead1d9850f0582588216cb5a (patch) | |
tree | 3f43065c917ac85d0fd7f35b453fad24010ef42a /publish.el | |
parent | 79d78dc0ec46417d13a82fe33a8ab13214427b85 (diff) |
make it a macro i think?
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -73,12 +73,12 @@ (if (equal "rss.org" (file-name-nondirectory filename)) (org-rss-publish-to-rss plist filename dir))) -(defun 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>") +(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 - '( + `( ("org-core" :base-directory "~/website/" :base-extension "org" @@ -89,7 +89,7 @@ :headline-levels 4 :section-numbers nil :html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>" - :html-preamble jj/html-preamble) + :html-preamble ,jj/html-preamble) ("org-static-website" :base-directory "~/website/" :base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" |