- Add
previous_postandnext_posttemplate variables for posts - Fix
config.link_dirswhen set tofalse
--watchnow looks for template changes- Add consistent
format_datefunction for both mustache/lhtml templates: - Add
config.date_format
- Add support for
.mustachetemplates - Default new sites to use
.mustachebuild in template - Add
--lhtmlflag to init to create sites with the old.lhtmltemplate - Fix
.lhtmltemplates which print '-'
Breaking:
- Rename
config.index->config.index_page - Change CLI arg
--nocache->--no-cache
The rest:
- Add support for multiple (url, build_dir) environments
- Add
config.force_index_pageto create index form page even when posts exist - Add
config.sticky_pageto have a page appear at the top of index - Add
config.archive_titleto change the title of the archive page - Add
--watchcommand line to rebuild on changes to posts/ & pages/ (no Windows support :() - Add ID attribute to
<hX>tags in markdown lib - Add
$raw$ ...$/raw$ syntax to disable Markdown extras - Add default config, so local config can be sparse
- Fix escaping for post & gallery RSS content
- Rename
press.lua->luapress.lua - Remove
alt_getoptand handle args manually - Nicer (colored, where possible) terminal output
- Add
config.posts_dirandconfig.pages_dir
Many thanks to GitHub user w-oertl for contributing most of this release.
- Add crosslink capability [posts|pages/NAME]
- If no posts and pages, use first post as index, or link.index
- Plugin support(!) & gallery plugin
- Move default template into install path and copy on init
- Add tests
- Add
--buildoption to change the directory to build the blog in - Fix handling of modification times on posts with manual time defined ($time=)
- Customise the contents of the link
--MORE--generates
- Fix escaping on
--MORE-- - Fix RSS output
- Fix bug with markdown & code blocks
- Lua 5.2 support
- Rockspec/Luarocks
- Bin executable
luapress init <url>functionality- Rewritten, broken up into utils
- Add $=url support to posts
- Fix bug in cache: empty archive and/or missing page links
- fixed by always loading pages/posts, cache still prevents writing them if no change
- Start log