This commit is contained in:
Jacob Janzen 2024-12-29 11:32:18 -06:00
parent ff97c3532d
commit 3a86fddf0f

View file

@ -73,7 +73,7 @@
(if (equal "rss.org" (file-name-nondirectory filename)) (if (equal "rss.org" (file-name-nondirectory filename))
(org-rss-publish-to-rss plist filename dir))) (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>") (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>")
(setq org-html-htmlize-output-type 'css) (setq org-html-htmlize-output-type 'css)
(setq org-html-postamble 'create-webring-html) (setq org-html-postamble 'create-webring-html)
@ -89,7 +89,7 @@
:headline-levels 4 :headline-levels 4
:section-numbers nil :section-numbers nil
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>" :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" ("org-static-website"
:base-directory "~/website/" :base-directory "~/website/"
:base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"