Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcouyang/orgpress
modern emacs static blog generator https://ghcr.io/jcouyang/orgpress
https://github.com/jcouyang/orgpress
blog blog-engine docker emacs orgmode orgpress
Last synced: 5 days ago
JSON representation
modern emacs static blog generator https://ghcr.io/jcouyang/orgpress
- Host: GitHub
- URL: https://github.com/jcouyang/orgpress
- Owner: jcouyang
- Created: 2015-03-22T09:33:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T13:38:33.000Z (about 2 years ago)
- Last Synced: 2024-08-01T21:44:31.271Z (3 months ago)
- Topics: blog, blog-engine, docker, emacs, orgmode, orgpress
- Language: CSS
- Homepage: https://blog.oyanglul.us
- Size: 2.04 MB
- Stars: 47
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Org Blog Generator
# TLDR
fork this repo and clone```sh
./compile
```# Or Publish to Gh-pages using Actions
https://github.com/jcouyang/orgpress/blob/master/.github/workflows/publish.yml
# Prerequisite
- [Docker](https://www.docker.com/get-started)# Configuration
## variables in `config.el`
- `config-blog-title`: you blog title
- `config-base-url`: base url
- `config-home-link`: about link
- `config-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
```elisp
(?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))
```# header and footer html template
- `html/preamble.html`: header
- `html/postamble.html`: footer
- `html/header.html`: custom content inside `