Health for watch
This commit is contained in:
parent
2018d7aab6
commit
6780fbfd90
177 changed files with 19996 additions and 21 deletions
13
package.nix
13
package.nix
|
|
@ -13,6 +13,7 @@
|
|||
(list "kylekrein's website"
|
||||
:recursive t
|
||||
:base-directory "${src}"
|
||||
:exclude "webarchive"
|
||||
:publishing-directory "./public"
|
||||
:publishing-function 'org-html-publish-to-html
|
||||
:with-author nil ;; Don't include author name
|
||||
|
|
@ -20,21 +21,23 @@
|
|||
:with-toc nil ;; Include a table of contents
|
||||
:section-numbers nil ;; Don't include section numbers
|
||||
:time-stamp-file nil)
|
||||
(list "attachments"
|
||||
:recursive t
|
||||
(list "attachments"
|
||||
:recursive t
|
||||
:base-directory "${src}"
|
||||
:base-extension "jpg\\|gif\\|png\\|css"
|
||||
:base-extension "jpg\\|gif\\|png\\|css\\|webp"
|
||||
:exclude "webarchive"
|
||||
:publishing-directory "./public"
|
||||
:publishing-function 'org-publish-attachment))) ;; Don't include time stamp in file
|
||||
:publishing-function 'org-publish-attachment)))
|
||||
|
||||
;; Customize the HTML output
|
||||
(setq org-html-validation-link nil ;; Don't show validation link
|
||||
org-html-head-include-scripts nil ;; Use our own scripts
|
||||
org-html-head-include-default-style nil ;; Use our own styles
|
||||
org-html-head "<link rel=\"stylesheet\" href=\"https://cdn.simplecss.org/simple.min.css\" />")
|
||||
org-html-head "<link rel=\"stylesheet\" href=\"https://cdn.simplecss.org/simple.min.css\" /> <link rel=\"stylesheet\" href=\"https://alexanderlebedev.com/style.css\" />")
|
||||
|
||||
;; Generate the site output
|
||||
(org-publish-all t)
|
||||
(copy-directory "${src}/webarchive" "./public/")
|
||||
(message "Build complete!")
|
||||
'';
|
||||
in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue