Skip to content

jcouyang/orgpress

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
org
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Org Blog Generator

jcouyang/orgpress status

TLDR

fork this repo and clone

./compile

Or Publish to Gh-pages using Actions

https://github.com/jcouyang/orgpress/blob/master/.github/workflows/publish.yml

Prerequisite

Configuration

variables in config.el

(?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 <head/>

Live Demo

https://blog.oyanglul.us