- 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_post
config option (@sharpobject) - Add
first_post
andlast_post
template 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=value
items within posts
Breaking:
- Only parse
$key=value
lines at the top of markdown files - Replace CLI arg
--lhtml
with--template [mustache|lhtml|etlua]
The rest:
- Add
etlua
templating support @JordanMajd - Add
toc
support ($=toc
in post orpage.toc
in template) - Add
get_page_permalink
andget_post_permalink
config options
- Fix for Lua 5.1 (
unpack
nottable.unpack
)
- @yuigoto fix
package.path
on Windows 10
- Replace
markdown.lua
withlua-discount
- Add
discount_options
configuration setting - Remove caching/
--no-cache
over-optimisation - Lua 5.3 support
- @paragasu Support for
.markdown
files - @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_post
andnext_post
template variables for posts - Fix
config.link_dirs
when set tofalse
--watch
now looks for template changes- Add consistent
format_date
function for both mustache/lhtml templates: - Add
config.date_format
- Add support for
.mustache
templates - Default new sites to use
.mustache
build in template - Add
--lhtml
flag to init to create sites with the old.lhtml
template - Fix
.lhtml
templates 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_page
to create index form page even when posts exist - Add
config.sticky_page
to have a page appear at the top of index - Add
config.archive_title
to change the title of the archive page - Add
--watch
command 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_getopt
and handle args manually - Nicer (colored, where possible) terminal output
- Add
config.posts_dir
andconfig.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
--build
option 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