add blog
This commit is contained in:
parent
58aa4c6549
commit
3685e93001
2 changed files with 17 additions and 4 deletions
|
@ -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
|
||||
|
|
20
publish.el
20
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue