- Fix/hide TOC rendering on index pages
- Fix argument parsing with
--<key> <value>style arguments - Fix rendering of TOC in posts w/
--MORE--
Special thanks to @sharpobject!
- Add
index_latest_postconfig option (@sharpobject) - Add
first_postandlast_posttemplate variables (@sharpobject) - Allow variables with underscores (@sharpobject)
- Process dates before plugins (@sharpobject)
- Don't load plugins multiple times (@sharpobject)
- Fix/tidy previous/next post links (@sharpobject)
- Always replace
$=toc, even if there's no TOC - Fix replacement of
$key=valueitems within posts
Breaking:
- Only parse
$key=valuelines at the top of markdown files - Replace CLI arg
--lhtmlwith--template [mustache|lhtml|etlua]
The rest:
- Add
etluatemplating support @JordanMajd - Add
tocsupport ($=tocin post orpage.tocin template) - Add
get_page_permalinkandget_post_permalinkconfig options
- Fix for Lua 5.1 (
unpacknottable.unpack)
- @yuigoto fix
package.pathon Windows 10
- Replace
markdown.luawithlua-discount - Add
discount_optionsconfiguration setting - Remove caching/
--no-cacheover-optimisation - Lua 5.3 support
- @paragasu Support for
.markdownfiles - @exelotl fixes for copying template directory on Windows
- @exelotl fix link to docs
- @hrsantiago fix break in
lhtml
- Support for newer Lua versions
- Support for non English languages
- Fix images and emails in markdown
- Make cache work with multiple envs
- 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