updating to use my forked pico-snazzy theme
This commit is contained in:
parent
0f62106606
commit
b9cef24ad0
1 changed files with 13 additions and 11 deletions
|
|
@ -23,19 +23,18 @@
|
|||
(org-html-html5-fancy t)
|
||||
(org-html-validation-link nil)
|
||||
(make-backup-files nil)
|
||||
(org-html-style "<link rel=\"stylesheet\" href=\"./static/pico.cyan.css\">
|
||||
(org-html-head-include-default-style nil)
|
||||
(org-html-head "<link rel=\"stylesheet\" href=\"./static/pico.snazzy.css\">
|
||||
<style>
|
||||
li:nth-child(n+7) {
|
||||
display: none;
|
||||
}
|
||||
</style>")
|
||||
(org-html-head-include-default-style nil)
|
||||
(org-html-head ""))
|
||||
</style>"))
|
||||
|
||||
(when (= 1
|
||||
(shell-command
|
||||
"cmp --silent ~/docs/site/assets/pico.cyan.css ~/docs/site/public/static/pico.cyan.css"))
|
||||
(copy-file "~/docs/site/assets/pico.cyan.css" "~/docs/site/public/static/pico.cyan.css" t))
|
||||
"cmp --silent ~/docs/site/assets/pico.snazzy.css ~/docs/site/public/static/pico.snazzy.css"))
|
||||
(copy-file "~/docs/site/assets/pico.snazzy.css" "~/docs/site/public/static/pico.snazzy.css" t))
|
||||
|
||||
(message "Starting site build")
|
||||
(cl-loop for file in current-notes
|
||||
|
|
@ -57,6 +56,7 @@
|
|||
(find-file "~/docs/site/content/index.org")
|
||||
(org-update-all-dblocks)
|
||||
(org-export-to-file 'html "~/docs/site/public/index.html")
|
||||
(kill-buffer)
|
||||
|
||||
(let* ((files (seq-concatenate
|
||||
'list
|
||||
|
|
@ -83,7 +83,9 @@
|
|||
(org-html-html5-fancy t)
|
||||
(org-html-validation-link nil)
|
||||
(make-backup-files nil)
|
||||
(org-html-head "<link rel=\"stylesheet\" href=\"../static/pico.cyan.css\">")
|
||||
(org-export-with-title t)
|
||||
(org-html-head-include-default-style nil)
|
||||
(org-html-head "<link rel=\"stylesheet\" href=\"../static/pico.snazzy.css\">")
|
||||
(denote-directory "/home/chris/docs/site/content")
|
||||
(export-directory
|
||||
(concat "/home/chris/"
|
||||
|
|
@ -105,7 +107,7 @@
|
|||
(kill-buffer))))))
|
||||
|
||||
(setq counter (+ counter 1))
|
||||
(while (> counter 10)
|
||||
(while (> counter 12)
|
||||
(sit-for 0.5))
|
||||
(async-start
|
||||
func
|
||||
|
|
@ -137,7 +139,7 @@
|
|||
;; :html-doctype "html5"
|
||||
;; :html-html5-fancy t
|
||||
;; :html-self-link-headlines t
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"pico.cyan.css\" type=\"text/css\"/>"
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"pico.snazzy.css\" type=\"text/css\"/>"
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"my.css\" type=\"text/css\"/>"
|
||||
;; :publishing-directory "~/docs/notes/site/public/"
|
||||
;; :publishing-function org-html-publish-to-html)
|
||||
|
|
@ -149,7 +151,7 @@
|
|||
;; :html-html5-fancy t
|
||||
;; :html-self-link-headlines t
|
||||
;; :htmlized-source t
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"../pico.cyan.css\" type=\"text/css\"/>"
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"../pico.snazzy.css\" type=\"text/css\"/>"
|
||||
;; :publishing-directory "~/docs/site/public/notes/"
|
||||
;; :publishing-function org-html-publish-to-html)
|
||||
;; ("teaching"
|
||||
|
|
@ -160,7 +162,7 @@
|
|||
;; :html-html5-fancy t
|
||||
;; :html-self-link-headlines t
|
||||
;; :htmlized-source t
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"../pico.cyan.css\" type=\"text/css\"/>"
|
||||
;; :html-head "<link rel=\"stylesheet\" href=\"../pico.snazzy.css\" type=\"text/css\"/>"
|
||||
;; :publishing-directory "~/docs/site/public/teaching/"
|
||||
;; :publishing-function org-html-publish-to-html)
|
||||
;; ("static"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue