Skip to content

v2.0.0-beta-6

Compare
Choose a tag to compare
@dbohdan dbohdan released this 23 Feb 11:42
· 114 commits to master since this release

New in this release

⚠️ Breaking changes

The config setting sortTagsBy has become a page setting.

Migration: replace sortTagsBy xyz in website.conf with {sidebar tagCloud sortBy} in presets/default with the same value.

The config setting websiteTitle has become a page setting.

Migration: move websiteTitle foo from website.conf to presets/default.

The config setting timezone has been removed. There are new page settings to replace it.

Migration: replace timezone in website.conf with {timezone date} in presets/default with the same value.

The new settings are:

  • {timezone date} — if set, used for scanning the page's date and modified when they don't contain a time zone as well as to add a time zone to the attribute datetime of the <time> tags of the article.
  • {timezone text} — a human-readable time zone name;
  • {timezone show} — whether to show {timezone text}.

The page setting moreText has been split into two.

Migration: rename the key moreText in $inputDir/presets/blog to {more markup}.

The new settings are {more markup} for the HTML markup with variables $link (as before) and $text (new) and {more text} for the human-readable customizable text like "read more". For example,

moreText {(<a href="$link">read more</a>)}

should be replaced with

{more markup} {(<a href="$link">read more</a>)}

or

more {
    markup {(<a href="$link">$text</a>)}
    text {read more}
}

Build

  • Fixes to the debugger.

Document

  • {bootstrap theme} can now be a link, not just a path.
  • The new page setting {sidebar tagCloud hide} allows you to hide certain tags.