Nikola v8.0.4 is out!

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.4. This release fixes a few small bugs, including a date glitch that appeared around New Year’s Eve.

What is Nikola?

Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2 templates, and input in many popular markup formats, such as reStructuredText and Markdown — and can even turn Jupyter Notebooks into blog posts! It also supports image galleries, and is multilingual. Nikola is flexible, and page builds are extremely fast, courtesy of doit (which is rebuilding only what has been changed).

Find out more at the website: https://getnikola.com/

Downloads

Install using pip install Nikola.

Changes

Nikola now supports Python 3.5 or newer. If you are on 3.4, please upgrade to a newer release of Python.

Bugfixes

  • Fix hiding future posts in sitemaps for posts without pretty URLs (Issue #3339)

  • Pass the correct parameters to shortcodes in jupyter notebooks

  • Fix handling of conflicts between posts/pages and indexes generated by CATEGORY_PAGES_FOLLOW_DESTPATH

  • Fix default date format to yyyy-MM-dd to avoid bug with ISO years (Issue #3337)

  • Remove extra_header and extra_footer from base theme due to incompatibility with Mako. The blocks are still available in bootstrap4 and bootblog4. (Issue #3319 via #3291)

  • Show tracebacks when conf.py cannot be imported

  • Fix loading complex config files that import modules (Issue #3314)

  • Fix behavior of header demotion for negative values

  • If FILE_METADATA_REGEXP is set, load metadata from the filename first, then continue with the other sources (Issue #3344)

Nikola v8.0.3 is out!

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.3. This release fixes a few bugs, including a notable one with galleries not working on mobile.

What is Nikola?

Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2 templates, and input in many popular markup formats, such as reStructuredText and Markdown — and can even turn Jupyter Notebooks into blog posts! It also supports image galleries, and is multilingual. Nikola is flexible, and page builds are extremely fast, courtesy of doit (which is rebuilding only what has been changed).

Find out more at the website: https://getnikola.com/

Downloads

Install using pip install Nikola.

Changes

Features

  • Add Friulian translation by aoanla

  • Add extra_header and extra_footer blocks to templates (Issue #3291)

  • Add REST_FILE_INSERTION_ENABLED config option to enable or disable reST external file inclusion directives (Issue #3311)

Bugfixes

  • Support Markdown v3.x (Issue #3173)

  • Fix galleries in Firefox Mobile and when resizing window (Issue #3258)

  • Output <code> tag for double backticks in reST (Issue #3276)

  • Fully switch to HTML5 writer for reST (Issue #3276, getnikola/plugins#294)

  • Make ipynb listings work again

  • Correctly link to listings with spaces in their names

  • import_wordpress plugin doesn't require anymore a translation and can use nikola's default if none provided

  • Wordpress+qtranslate import (--qtranslate option) now works with more recent versions of plugins from the qtranslate family (namely qtranslate-X)

  • Fixed a wordpress import exception when image metadata has floats formated with ',' instead of '.'

Nikola v8.0.2 is out!

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v8.0.2. This is a quality-of-life release with a handful of bug fixes, two new translations and a few extra features.

What is Nikola?

Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2 templates, and input in many popular markup formats, such as reStructuredText and Markdown — and can even turn Jupyter Notebooks into blog posts! It also supports image galleries, and is multilingual. Nikola is flexible, and page builds are extremely fast, courtesy of doit (which is rebuilding only what has been changed).

Find out more at the website: https://getnikola.com/

Downloads

Install using pip install Nikola. (Python 3-only since v8.0.0.)

Changes

  • Make ARCHIVE_PATH, ARCHIVE_FILENAME translatable (Issue #3234)

  • Support configuring Isso via GLOBAL_CONTEXT['isso_config'] (Issue #3225)

  • Handle fragments in doc role (Issue #3212)

  • Slugify references in doc role.

  • Add Interlingua translation by Alberto Mardegan

  • Add Afrikaans translation by Friedel Wolff

  • Support for docutils.conf (Issue #3188)

Bugfixes

  • Avoid random rebuilds with sites whose locales are not fullly supported, and random rebuilds on multilingual sites using Python 3.4/3.5 (Issue #3216)

  • Apply modifications to default_metadata before copying it to other languages

  • Make Commento comments work (Issue #3198)

  • Correctly handle separators in the relative path given to "ignored_assets" key in theme meta files (Issue #3210)

  • Fix error when nikola new_post receives directory name as path (Issue #3207)

  • Add slashes to paths with query strings in nikola serve only if there isn’t one before ?

  • Read listings files as UTF-8

  • Set one-file status basing on default language only (Issue #3191)

  • Don’t warn if post status is set to published explicitly (Issue #3181)

  • Remove mention of Twitter cards requiring an opt-in. This is not true anymore - anyone can use them.

  • fancydates now workwith listdate items (eg. archives)

  • bootstrap4 and bootblog4 themes no longer load moment.js when fancydates are off. (Issue #3231)