modern emacs static blog generator https://ghcr.io/jcouyang/orgpress
fork this repo and clone:
./compile
https://github.com/jcouyang/orgpress/blob/master/.github/workflows/publish.yml
config-blog-title
: you blog titleconfig-base-url
: base urlconfig-home-link
: about linkconfig-date-format
: date format using [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Time-Parsing.html][elisp time parsing format]]config-entry-format
: template for each blog item
(?D . ,(format-time-string "<%Y-%m-%d %a>" (org-publish-find-date entry project)))
(?c . ,(org-publish-find-property entry :description project 'html))
(?l . ,(concat "file:" entry))
(?L . ,(replace-regexp-in-string "\.org" "\.html" entry))
html/preamble.html
: headerhtml/postamble.html
: footerhtml/header.html
: custom content inside<head/>
fromhttps://github.com/jcouyang/orgpress
(https://github.com/jcouyang/blog)
No comments:
Post a Comment