Skip to content

Releases: getnikola/nikola

v7.6.3

08 Aug 14:03
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.6.3. It fixes some bugs and adds new 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 (IPython) 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 or download tarballs on GitHub and PyPI.

Changes

Features

  • New translations: Serbian and Bosnian, by saleone
  • Added mechanism for rest extensions to depend on configuration options
    (Issue #1919)
  • Render Jupyter notebooks (ipynb) in listings (Issue #1900)

Bugfixes

  • Handle folders without trailing slashes in nikola auto (Issue #1933)
  • Set a base element to aid relative URL resolution, stripped on-the-fly
    when using the auto or serve command to view site locally. (Issue #1922)
  • Rebuild archives when post slugs and titles change (Issue #1931)
  • Handle special characters in URLs in nikola auto (Issue #1925)
  • Avoid Broken Pipe error in nikola auto (Issue #1906)
  • "nikola auto" serving implicit index.html with wrong mime type (Issue #1921)
  • Handle non-integer shutter speeds and other variables in WordPress
    importer (Issue #1917)

v7.6.2

29 Jul 18:11
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.6.2. It fixes some bugs and adds new 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 (IPython) 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/ (BTW, we totally rewrote the website, now it's modern and pretty!)

Downloads

Get it on GitHub and PyPI.

Changes

Features

  • Make the Google Search example prettier, integrating well with
    Bootstrap 3 (Issue #1912)
  • Add categories filter to post list directive (via Issue #1889)
  • Remove empty directories with nikola check --clean-files (Issue #1873)

Bugfixes

  • Don't assume things are HTML in auto mode (Issue #1915)
  • Don’t rebuild Atom syndication files unnecessarily often
  • Include .php files in sitemaps
  • Retry all client errors (4xx) to HEAD as GET reques when checking remote links
  • Graceful fallback in nikola serve --detach on Windows (Issue #1913)
  • Don't auto-rebuild on changes to ".foo" or "foo~" or changes in folders
  • auto should also rebuild in response to move events
  • Don’t get metadata from file if compiler-specific metadata exist (Issue #1904)
  • Fix PRETTY_URLS prompt for Windows (Issue #1901)
  • Fix reST and Markdown title extraction from documents (Issue #1895, #1898)
  • Minor improvements to the extending document
  • Re-add the hack to kill nikola auto on ^C (Issue #1893)

v7.6.1

15 Jul 13:56
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.6.1. It fixes some bugs and adds new 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 (IPython) 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/

Key Changes since v7.6.0

  • Many Wordpress importer improvements
  • Modern reST stylesheets, based in part on Bootstrap 3 (Issue #1150)

Downloads

Get it on GitHub and PyPI.

Changes

Features

  • Several improvements to WordPress importer (PR #1867):
    • Allowing to export categories and category hierarchy with
      --export-categories-as-categories
    • Allowing to exclude private posts, and allowing to include empty posts
    • Allowing to use HTTP authentication for downloads with --download-auth
      (PR #1848)
    • Allowing to export comments with --export-comments
    • Allowing to use WordPress page compiler to directly convert posts
      to HTML on import with --transform-to-html
    • Allowing to use WordPress page compiler on imported site instead of
      converting posts to markdown with --use-wordpress-compiler
    • Allowing to automatically install the WordPress page compiler when
      needed with --install-wordpress-compiler
    • Exporting information on attachments per post as JSON (#1867 and #1888)
    • Exporting post status and excerpt
  • New ‘pagekind’ variable available to identify different kind of pages from theme templates
  • Add --no-server option to nikola auto (Issue #1883)
  • Always return unicode in slugify (Issue #1885)
  • Remove logging handlers (Issue #1797)
  • Add -d, --detach option to nikola serve (Issue #1871)
  • Use provided teaser format (*_READ_MORE_LINK) with custom teaser text
    (Issue #1879)
  • Delete old bootstrap theme (use bootstrap3 instead)
  • Screen reader-friendly navbar collapses and dropdowns (Issue #1863)
  • Modern reST stylesheets, based in part on Bootstrap 3 (Issue #1150)

Bugfixes

  • Add missing xmlns:xhtml namespace to sitemaps (Issue #1890)
  • Fixed superfluous rebuild problems with Python 3. Note that this will cause
    rebuilds for most sites. (Issue #1887)
  • Fix links in sample post (Issue #1874)
  • Don't use deprecated Yapsy methods (Isue #1868)
  • Surpress wincing when auto is aborted during rebuilding
  • Show tags only from the current language on tag listing pages (Issue #1856)
  • Remove gap between line numbers and code (Issue #1859)
  • Fix spurious warnings about posts published in the future (Issue #1850)

v7.6.0

02 Jul 12:17
v7.6.0
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.6.0. It fixes some bugs and adds new 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 (IPython) 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/

Key Changes since v7.5.1

  • nikola auto fixed for Python 3 and while rebuilding
  • nikola auto now uses watchdog and supports Windows
  • Support for Jupyter Notebooks: you can now use non-Python .ipynb
    files with Nikola (ipynb@KERNEL to pick a kernel)
  • Added nikola new_post -F to list available compilers
  • Better print CSS
  • Per-post filters via metadata

Downloads

Get it on GitHub and PyPI.

Changes

Features

  • Translate Write your post here. to default language (Issue #1621)
  • Enable PRETTY_URLS by default on new sites created by the wizard (Issue #1838)
  • Add -F, --available-compilers option to nikola new_post and nikola new_page (Issue #1837)
  • Add print CSS to all default themes (Issue #1817)
  • Support other kernels for ipynb/Jupyter using nikola new_post -f ipynb@kernel (Issues #1774, #1834)
  • Add distinct styling for the site footer in bootstrap3
  • Bootstrap v3.3.5 (Issue #1828)
  • Use watchdog in nikola auto (Issue #1810)
  • Add redirection for tags in Wordpress importer (Issue #1168)
  • Add support for html_tidy_withconfig to use a tidy5.conf file (Issue #1795)
  • Change default tidy5 filters not to drop empty elements (Issue #1795)
  • Apply per-post filters via metadata (Issue #914)

Bugfixes

  • Nikola auto was broken in python 3 (Issue #1830)
  • Read configuration when importing into an existing site (Issue #1823)
  • Don’t crash on non-UTF-8 files during sitemap generation (Issue #1842)
  • Unnecessary rebuilds of yearly archives (Issue #1833)
  • Quietly ignore non-existent files in nikola check -l (Issue #1831)
  • Don’t rebuild all tag or category pages when changing tag/category descriptions
  • Fix crash in wordpress code importer (Issue #1819)
  • Call correct command in nikola auto

v7.5.1

12 Jun 15:39
v7.5.1
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.5.1. It features some bugfixes and new 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 IPython 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: http://getnikola.com/

Downloads

Get it on GitHub and PyPI.

Changes

Features

  • Suggest misspelled commands (Issue #1807)
  • New implementation of the nikola auto command.
  • requests is now required for all Nikola sites
  • New nikola version --check option (Issue #1767)

Bugfixes

  • Support pure markdown posts in WP import (Issue #484)
  • Make auto shutdown with ctrl-c (Issue #1811)
  • Log properly in nikola auto (Issue #1812)
  • Handle rare gettz failure (Issue #1806)
  • Handle missing dependencies better in auto plugin (Issues #1803, #1809)
  • IDNA mixing unicode/bytes in python 3 (Issue #1802)
  • Cleaner splitting of metadata in onefile posts (Issue #973)
  • It's markdown extra, not extras (Issue #1799)

Version 7.5.0

08 Jun 14:56
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.5.0. It features several bugfixes and 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
IPython 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: http://getnikola.com/

Changes

Features

  • Make default themes more accessible (Issue #377)
  • Add ipython support to the default themes (Issue #1782)
  • Automatically mark ipynb posts/pages as requiring mathjax (Issue #1782)
  • New --get-path option for nikola install_theme (Issue #1762)
  • New nikola rst2html command (Issue #1710)
  • New nikola status command (Issue #1740)
  • Support [code] in wordpress importers (Issue #1186)
  • Cleaner formatting of HTML output
  • Allowing category hierarchies via new option CATEGORY_ALLOW_HIERARCHIES
    (Issue #1520)

Bugfixes

  • Dropped empty languages (fil, tl, zh_TW)
  • Extract nikola check target list from actual task list instead of parsing (Issue #1758)
  • Treat special-purpose “draft” tag case-insensitive
  • Avoid some rebuild loops (Issue #1747)
  • Better error if two posts/pages output conflict (Issue #1749)
  • Scanning of posts refactored out of core (Issue #1700)
  • github_deploy records lastdeploy timestamp like regular deploy
  • Use a global directory for gallery images, ignoring translations (Issue #1726)
  • The post-list directive only triggers rebuilds if timeline changes (Issue #1688)
  • Don’t check the same remote URL more than once (Issue #1732)
  • All remotely checked links resulted in incorrect warnings (nikola check -lr)
  • Exclude <meta content="noindex" name="robots"> from sitemaps
  • new_post paths are now relative to CWD (Issue #1325)

Version 7.4.1

10 May 00:33
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate
availability of Nikola v7.4.1. It features some bugfixes and very minor
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
IPython 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: http://getnikola.com/

Changes

Features

  • Better handling of missing/unconfigured compilers (Issue #1704)
  • New -r option for the link checker to check remote links (Issue #1684)
  • Use static navbars in bootstrap3 and bootstrap themes

Bugfixes

  • Handle strange URLs, like ed2k:// (Issue #1695)
  • Fix very old metadata format support (Issue #1689)

Version 7.4.0

05 May 14:15
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.4.0. It features some bugfixes and new 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 IPython 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: http://getnikola.com/

Changes

Features

  • Substitutions for RSS_LINKS_APPEND_QUERY for identifying
    the source feed (feedRelUri) and the kind of feed (feedFormat).
  • New option GENERATE_ATOM, off by default
  • Current and archive Atom feeds for indexes; category, tag, and archive indexes (RFC-4287 and RFC-5005)
  • Atom feed auto-discovery in HTML indexes and category/tag indexes
  • .atom included in the sitemap index
  • New post metadata "updated", inherits "date" if unset
  • Allow IPv6 in nikola auto (Issue #1682)
  • Allow IPv6 in nikola serve (Issue #1682)
  • Set default new site URL to https://example.com/
  • Plugins can manipulate task dependencies (Issue #1679)
  • LINK_CHECK_WHITELIST now works with output relative and full fs paths
  • Four new filters: html_tidy_nowrap, html_tidy_wrap, html_tidy_wrap_attr,
    and html_tidy_mini for prettification and minification. Requires tidy5.
  • Multilingual sitemaps (Issue #1610)
  • Compatibility with doit v0.28.0 (Issue #1655)
  • AddThis is no longer added by default to users’ sites
  • New translations (az, fil, tl, uk, zh_TW)
  • Add reStructuredText transform support (Issue #1647)
  • Produce Unicode output in nikola init (via Issue #1644)
  • Add HIDDEN_TAGS and HIDDEN_CATEGORIES settings to hide some
    tags and categories (eg. mathjax) from view (Issue #1640)
  • Instruct browsers to prefetch newest post when visiting the front page
  • Add a sort parameter to the post-list directive to sort posts in
    the list using natsort. (Issue #1635)

Bugfixes

  • Make .islink work properly (via Issue #1536)
  • RSS_LINKS_APPEND_QUERY not working in RSS feeds for tags
  • nikola check -l didn’t scan posts
  • Don’t use sets for FAVICONS (Issue #1674)
  • Posts/Pages that use post-list will never be up to date (Issue #1671)
  • Support using post.text() in post_list_directive.tmpl (Issue #1671)
  • Avoid recursive dep when using post-list in a post (Issue #1671)
  • Encode IDNs to Punycode in nikola init and in links;
    show an error if the site URL is not Punycode (Issue #1644)
  • Make images the default output directory for IMAGE_FOLDERS
    (Issue #1663)
  • Don't default to any swatch in bootswatch_theme (Issue #1656)
  • Fix nikola check -l for absolute and full-path URL styles
    (Issue #1650)
  • Really add missing trailing slashes in BASE_URL (Issue #1651)
  • Check if files exists before adding them as post-list dependencies
    (Issue #1646)
  • Fix build command in nikola auto (Issue #1641)
  • Update Bootstrap to v3.3.4
  • Update jquery-colorbox
  • Fix symlinks for moment.js in Windows
  • Fix code.css bundling in Windows
  • Listings in posts now work in Windows (Issue #1631)
  • Add 20 seconds to reading time per embedded media

v7.3.1.1

22 Apr 13:41
v7.3.1.1
Compare
Choose a tag to compare

Emergency release to pin doit version to 0.27.0 — no code changes since v7.3.1 (not even nikola --version).

v7.3.1

07 Mar 08:40
v7.3.1
Compare
Choose a tag to compare

On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.3.1. It features some bugfixes and new 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 IPython 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: http://getnikola.com/

Changes

Features

  • Separate new option IMAGE_THUMBNAIL_SIZE for setting size of thumbnails created by scale_images plugin (Issue #1606)
  • Don't create larger thumbnails for panorama images in scale_images (Issue #1606)
  • Added root path handler (via Issues #1008, #1573)
  • Added RSS feeds to gallery HEAD (part of Issue #786)

Bugfixes

  • Use pyphen properly when there are no dictionaries for this language (Issue #1613)
  • Fix nikola deploy when there is no cache (Issue #1615)
  • Report issues in scale_images properly (Issue #1598)
  • Correctly read sub-timezones in nikola init (via Issue #1599)
  • Fix zoneinfo reading in nikola init (Issue #1599)
  • Fix .islink detection for galleries (via Issue #1536)
  • Links to languages point to site root and not the blog (Issue #1008)
  • Brand link is now language-specific (Issue #1573)
  • Fixed compatibility with IPython 3.x (Issue #1581)
  • Compilers mark tasks as out of date if compiler-specific options and plugins change (Issue #1523)