Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
The default elblog route (/{article-name}) can now be extended with
user-supplied routes by overriding the elblog-additional-routes
customize variable.
This variable takes the same format as the alist supplied to
elnode-hostpath-dispatcher.
The prefix `/en` has been dropped from the default handler because
that only existed to be compatible with my old blog, which is no
longer required as it can now be handled with a custom legacy route in
my personal blog configuration.
|
|
* adds a hash-table stored in a variable called `elblog-articles` that
defines a map of article names (used as URI fragments) to file names
of org-mode files
* adds a custom variable `elblog-article-directory` which must be set
to the base path of the org-mode files representing elblog articles
* refactors the article-rendering functions to look up articles in the
articles hash-table and renders them from there
After this change elblog is almost functional as a blog software, only
missing index generation.
|
|
|
|
|
|
|
|
This gets elblog close, but not quite there, to my previous blog
theme.
Comparison screenshot: http://i.imgur.com/UK49Fhi.png
|
|
Adds a customization group which can currently be used to configure
the host and port that elblog should run on.
|
|
|
|
|
|
Implements a (very) simple "blogging" software in Emacs Lisp using
org-mode and elnode.
Once loaded and started, elblog will serve individual blog posts at
`localhost:8010/en/$post-name`, where "post-name" can be any string.
Elblog will attempt to find a buffer called "$post-name.org" and
render it to HTML.
An index of blog posts is currently not implemented and everything is
completely unthemed, but for a language this old this is ridiculously
productive given the amount of code.
|
|
|