张帆 593bad8308 Move language's setting form `#+LANGUAGE lang` to `#+PROPERTY: LANGUAGE lang` | 8 년 전 | |
---|---|---|
.. | ||
LICENSE | 9 년 전 | |
README.md | 8 년 전 | |
__init__.py | 9 년 전 | |
org_reader.el | 8 년 전 | |
org_reader.py | 8 년 전 |
Publish Emacs Org files alongside the rest of your website or blog.
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, the following properties can be defined in the org file's header:
#+TITLE: The Title Of This BlogPost
#+DATE: 2001-01-01
#+CATEGORY: blog-category
#+AUTHOR: My Name
#+PROPERTY: LANGUAGE en
#+PROPERTY: SUMMARY hello, this is the description
#+PROPERTY: SLUG test_slug
#+PROPERTY: MODIFIED [2015-12-29 Di]
#+PROPERTY: TAGS my, first, tags
#+PROPERTY: SAVE_AS alternative_filename.html
TITLE
is the only mandatory header propertyDATE
and MODIFIED
) are optional and can be either a string
of %Y-%m-%d
or an org timestampSUMMARY
, SLUG
, MODIFIED
, TAGS
, SAVE_AS
) can
be either lower-case or upper-case