- Changed
- Removed the
<hr>
from and added classes to the outputted markup for Markdown footnotes. - Tag data is now stored in an object instead of a dictionary.
- Removed the
- New
- A mechanism for defining content containers.
- Two new filters for the Jinja renderer,
items
andvalues
, that act as syntactic sugar foriteritems()
anditervalues()
. - A reStructuredText parser.
- Two new
item
properties,prev
andnext
, that store the previous and next items in the container. - Files outside of ignored directories will now be parsed if a parser is available.
- Two config settings for controlling how posts are sorted:
posts_order
andposts_sort
.
- Changed
- Global and local dictionaries no longer behave different from ordinary Python dictionaries when iterating over them.
- The
archives
andtags
globals are now properties of theposts
global to maintain consistency between content containers. - The
post
local has been renameditem
to maintain consistency between content containers. - The
<title>
variable in URL formats has been renamed to<slug>
. - Frontmatter attributes that contain string values can now be used in URL formats.
- The
markup
andparser
config settings have been removed. - Which parser used is now determined by (in order of precedence) the
parser
frontmatter attribute, theparser
container config setting, and lastly the file extension. - In Markdown, the bracket fenced code block syntax is no longer supported.
- The
layout
frontmatter attribute can now be set toNone
to skip rendering.
- New
- A new default theme with dark (default) and light versions.
- A config setting for specifying directories and files to be copied over that would otherwise be ignored.
- Localization and internationalization support.
- Changed
- The programming language of a code block is now stored in the
data-lang
attribute of the<code>
tag instead of thelang
attribute of the<pre>
tag. - Tildes are no longer allowed in post slugs.
- The
watch
subcommand now honors the configured log level.
- The programming language of a code block is now stored in the
- Upgraded
- Jinja 2.7
- Fixed
- A bug in the handling of log messages in the
serve
subcommand. - A bug in the misaka parser with SmartyPants.
- A bug in the
serve
subcommand when handling paths containing Unicode characters. - A bug in the
watch
subcommand when a file is moved into the directory that is being watched. - A bug when handling an empty config file.
- A bug in the handling of log messages in the
- Upgraded
- misaka 1.0.2
- Fixed
- A bug in the
absolutize
filter of the Jinja renderer. - A bug in the
get_url
template helper where it was appending a forward slash when it shouldn't.
- A bug in the
- Fixed
- The default theme not getting installed.
- New
- An archive property is now available for tags in the tags global.
- A default theme.
- Four new subcommands:
init
,gen
,watch
, andserve
.
- Changed
- Archive years and tag names are always available in their respective globals.
- When the destination already exists on generation, it is now emptied by default instead of deleted.
- Generation is now done via the
gen
subcommand.
- Fixed
- A bug when retrieving the URL for an archive page.
- A regression in the misaka renderer when generating semantic identifiers.
- New
- An absolute URL can now be retrieved via the
get_url
template helper if thedomain
config setting has been set. - A filter for the Jinja render that attempts to convert all relative URLs to absolute URLs.
- An absolute URL can now be retrieved via the
- Changed
- The misaka parser now automatically escapes code blocks.
- Fixed
- A Unicode issue in the misaka parser.
- An escaping issue with code highlighting.
- A bug in the Jinja renderer when handling Windows paths.
- Upgraded
- miaska 1.0
- Changed
- The
excerpt
post property is no longer wrapped in a<p>
tag.
- The
- Fixed
- A bug in the misaka parser when the Markdown source parses out to nothing.
- Fixed
- An import issue preventing installation.
- Fixed
- An import issue preventing installation.
- Fixed
- A type issue in
setup.py
.
- A type issue in
- New
- A version flag.
- Changed
- Removed the
year
andname
properties from archives and tags respectively.
- Removed the
- New
- Posts are now partially rendered before being parsed enabling renderer functionality within posts.
- The hour and minute of a post can now be set with it defaulting to the file's
mtime
. - Archive pages can now be automatically generated.
- Changed
- Identifiers will now be semantic when using misaka's TOC render flag.
- Removed the
slug
property from posts.
- Fixed
- A bug when parsing posts with no content.
- Post and tag URLs not being properly slugified.
- A Unicode issue with dates.
- Changed
- Added a
name
attribute to tags.
- Added a
- Fixed
- A bug with extensionless files.
- A bug when using the
-qv
flags.
Initial release.