about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2019-12-21 chore(elblog): Prepare for depot mergeVincent Ambo6-0/+0
2017-11-13 feat(blog): Let users extend/customize elblog routesVincent Ambo1-3/+12
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.
2017-11-13 feat(blog): Register blog articles in hash-tableVincent Ambo1-5/+21
* 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.
2017-11-13 feat: Make blog-title configurable in preambleVincent Ambo2-2/+13
2017-11-13 refactor: Load preamble from an HTML file, too.Vincent Ambo2-4/+10
2017-11-13 style: Allow for slightly wider page bodiesVincent Ambo1-1/+1
2017-11-13 feat(blog): Configure org-mode's HTML export to match blog themeVincent Ambo3-1/+59
This gets elblog close, but not quite there, to my previous blog theme. Comparison screenshot: http://i.imgur.com/UK49Fhi.png
2017-11-13 feat(blog): Add customization group for configuring elblog settingsVincent Ambo1-3/+23
Adds a customization group which can currently be used to configure the host and port that elblog should run on.
2017-11-12 docs: Add initial READMEVincent Ambo2-0/+12
2017-11-12 feat(blog): Add interactive start/stop functionsVincent Ambo1-2/+8
2017-11-12 feat(blog): Add initial elblog implementationVincent Ambo1-0/+49
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.
2017-11-12 chore: Initial commitVincent Ambo0-0/+0