/org-page-theme-weidaotong

Martin theme adapted to org-page

Primary LanguageCSS

Martin Theme for org-page

Martin theme for org-page. The Theme was originally developed by Allison House and adapted for org-page by me.

Usage

delete your index.org

git clone https://github.com/congleetea/org-page-theme-martin.git

edit org-page-theme-martin/templates/index.mustache and change title and sub-title.

change org-page config

(setq op/theme 'org-page-theme-martin)

Source Block syntax highlighting

The Theme is configured to use the syntax highlighting from your emacs theme. To enable this in the configuration set:

(setq op/highlight-render 'htmlize)

To disable this and use prettify.js comment out the function in main.js and the includes for prettify.js in footer.mustache.

Then make sure that the following is set:

(setq op/highlight-render 'js)

License

Showcase your project in style with Martin, a bold, timeless theme for GitHub pages! Named for the punchcutter William Martin, apprentice to John Baskerville. This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.