Org-page example
How to op/new-post
Open Emacs, if you are not already in Emacs.
Install
Get it from Melpa (community emacs package repository), say, using
M-x list-packages C-s org-page
\[i\] for mark-install, \[x\] for execute-marked.
You might need to add melpa as a source.
Configuration
For example, you can set your disqus and a google analytics ID.
Regular usage
- Decide to write a post
M-x op/new-post
- Follow the prompts
I don't have tags and keywords sussed yet.
- org-mode your life in plain text
I find the next step confusing.
- Open a shell.
M-x op/do-post
has checked out a local branch, "source" in your local github-page repo.
These are the .org source that exports into your static html site.
- Just \[\textit{commit}\] your changes to this branch. THEN
M-x op/do-publication
- Yes, all org files is fine.
- No, I don't want to stage this locally
- Yes commit (default)
- Yes push
- Wait for about a minute after it pushes.
Voila!