Andreas Hilboll 631420fde2 ENH: read author from org file metadata преди 9 години
..
LICENSE b578358790 org_reader plugin. Publishes Emacs Org-mode files. преди 9 години
README.md 3eb885a849 Update README.md преди 9 години
__init__.py b578358790 org_reader plugin. Publishes Emacs Org-mode files. преди 9 години
org_reader.el 631420fde2 ENH: read author from org file metadata преди 9 години
org_reader.py 631420fde2 ENH: read author from org file metadata преди 9 години

README.md

Org Reader

Publish Emacs Org files alongside the rest of your website or blag.

  • ORG_READER_EMACS_LOCATION: Required. Location of Emacs binary.

  • ORG_READER_EMACS_SETTINGS: Optional. An absolute path to an Elisp file, to run per invocation. Useful for initializing the package Emacs library if that's where your Org mode comes from, or any modifications to Org Export- related variables. If you want to use your standard emacs init file, you can ignore this variable.

  • ORG_READER_BACKEND: Optional. A custom backend to provide to Org. Defaults to 'html.

To provide metadata to Pelican, provide the following header in your Org file:

#+TITLE: The Title Of This BlogPost
#+DATE: <2001-01-01>
#+CATEGORY: comma, separated, list, of, tags

The slug is automatically the filename of the Org file.