110 lines
3.8 KiB
EmacsLisp
110 lines
3.8 KiB
EmacsLisp
(setq org-publish-project-alist
|
|
`(("notes"
|
|
:denote-directory "~/docs/notes/"
|
|
:base-directory "~/docs/site/content/notes/"
|
|
:base-extension "org"
|
|
:publishing-directory "~/docs/site/public/notes/"
|
|
:exclude "\\(_draft\\|_lesson\\|_sermon\\)"
|
|
:preparation-function chris/preparation-function
|
|
:recursive nil
|
|
:with-toc t
|
|
:with-broken-links t
|
|
:with-author nil
|
|
:with-timestamps nil
|
|
:section-numbers nil
|
|
:html-postamble nil
|
|
:html-validation-link nil
|
|
:exlude-tags "revealonly\\|noexport"
|
|
:html-head-include-default-style nil
|
|
:html-doctype "html5"
|
|
:html-html5-fancy t
|
|
:html-self-link-headlines t
|
|
:htmlized-source t
|
|
;; :html-preamble chris/site-premble
|
|
:html-preamble-format (("en" "<nav>
|
|
<ul>
|
|
<li><strong><a href=\"/\">Chris Cochrun</a> > %t</strong></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href=\"/notes\">Notes</a></li>
|
|
<li><a href=\"/teaching\">Teaching</a></li>
|
|
</ul>
|
|
</nav>"))
|
|
:html-head "<link rel=\"stylesheet\" href=\"../static/pico.snazzy.css\" type=\"text/css\"/>"
|
|
:publishing-function org-html-publish-to-html)
|
|
("teaching"
|
|
:denote-directory "~/docs/notes/lessons/"
|
|
:base-directory "~/docs/site/content/teaching/"
|
|
:base-extension "org"
|
|
:publishing-directory "~/docs/site/public/teaching/"
|
|
:exclude "_draft"
|
|
:preparation-function chris/preparation-function
|
|
:recursive nil
|
|
:with-broken-links t
|
|
:with-author nil
|
|
:with-timestamps nil
|
|
:section-numbers nil
|
|
;; :html-preamble chris/site-premble
|
|
:html-postamble nil
|
|
:html-validation-link nil
|
|
:exlude-tags "revealonly\\|noexport"
|
|
:html-head-include-default-style nil
|
|
:html-doctype "html5"
|
|
:html-html5-fancy t
|
|
:html-self-link-headlines t
|
|
:htmlized-source t
|
|
:html-preamble-format (("en" "<nav>
|
|
<ul>
|
|
<li><strong><a href=\"/\">Chris Cochrun</a> > %t</strong></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href=\"/notes\">Notes</a></li>
|
|
<li><a href=\"/teaching\">Teaching</a></li>
|
|
</ul>
|
|
</nav>"))
|
|
:html-head "<link rel=\"stylesheet\" href=\"../static/pico.snazzy.css\" type=\"text/css\"/>"
|
|
:publishing-function org-html-publish-to-html)
|
|
("static"
|
|
:base-directory "~/docs/site/assets/"
|
|
:base-extension "css\\|txt\\|jpg\\|gif\\|png\\|webp\\|webm\\|mp4\\|js\\|html"
|
|
:recursive t
|
|
:publishing-directory "~/docs/site/public/static/"
|
|
:publishing-function org-publish-attachment)
|
|
("index"
|
|
:base-directory "~/docs/site/content"
|
|
:title-of-project "index"
|
|
:base-extension "org"
|
|
:preparation-function chris/site-index-update
|
|
:recursive nil
|
|
:with-broken-links t
|
|
:with-author nil
|
|
:with-timestamps nil
|
|
:with-toc nil
|
|
:section-numbers nil
|
|
;; :html-preamble chris/site-premble
|
|
:html-preamble-format (("en" "<nav>
|
|
<ul>
|
|
<li><strong>Chris Cochrun</strong></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href=\"/notes\">Notes</a></li>
|
|
<li><a href=\"/teaching\">Teaching</a></li>
|
|
</ul>
|
|
</nav>"))
|
|
:html-postamble nil
|
|
:html-validation-link nil
|
|
:exlude-tags "revealonly\\|noexport"
|
|
:html-head-include-default-style nil
|
|
:html-doctype "html5"
|
|
:html-html5-fancy t
|
|
:html-self-link-headlines t
|
|
:htmlized-source t
|
|
:html-head "<link rel=\"stylesheet\" href=\"./static/pico.snazzy.css\" type=\"text/css\"/>
|
|
<style>
|
|
li:nth-child(n+7) {
|
|
display: none;
|
|
}
|
|
</style>"
|
|
:publishing-directory "~/docs/site/public/"
|
|
:publishing-function org-html-publish-to-html)
|
|
("cochrun.xyz" :components ("index" "notes" "static" "teaching"))))
|