aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml1
-rw-r--r--publish.el20
2 files changed, 17 insertions, 4 deletions
diff --git a/.build.yml b/.build.yml
index fe3ea49..ef0b22a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -5,6 +5,7 @@ packages:
- hut
sources:
- https://git.sr.ht/~jjanzen/.doom.d
+ - https://git.sr.ht/~jjanzen/blog
tasks:
- build: |
emacs --batch -f package-initialize --script ~/website/publish.el
diff --git a/publish.el b/publish.el
index e75509a..f6a84f5 100644
--- a/publish.el
+++ b/publish.el
@@ -22,16 +22,28 @@
:section-numbers nil
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
:html-preamble "<div class='topnav'><a href='/index.html'>Home</a><a href='/projects.html'>Projects</a><a href='/tea.html'>Tea Tasting Notes</a><a href='/rants.html'>Rants</a><a href='/config.html'>Dotfiles</a><a href='/about.html'>About Me</a></div>"
- :html-postamble nil
- :auto-sitemap t
- :sitemap-filename "sitemap.org"
- :sitemap-title "Sitemap")
+ :html-postamble nil)
("org-static"
:base-directory "~/website/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html"
:recursive t
:publishing-function org-publish-attachment)
+ ("org-blog"
+ :base-directory "~/blog/"
+ :base-extension "org"
+ :publishing-directory "~/public_html/blog"
+ :recursive t
+ :publishing-function org-html-publish-to-html
+ :with-toc nil
+ :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='/index.html'>Home</a><a href='/projects.html'>Projects</a><a href='/tea.html'>Tea Tasting Notes</a><a href='/rants.html'>Rants</a><a href='/config.html'>Dotfiles</a><a href='/about.html'>About Me</a></div>"
+ :html-postamble nil
+ :auto-sitemap t
+ :sitemap-filename "blog.org"
+ :sitemap-title "Blog")
("org-config"
:base-directory "~/.doom.d/"
:base-extension "org"