Releases: getnikola/nikola
v7.7.8
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.8. 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
- Template-based shortcodes now receive positional arguments too (Issue #2319)
Bugfixes
- Use state files in
nikola github_deploy
andnikola status
(Issue #2317) - Add
align
options foryoutube
,vimeo
,soundcloud
reST directives (Issue #2304) - Update
FILE_METADATA_REGEXP
example in docs (Issue #2296) - Show “tags too similar” error instead of cryptic doit crash (Issue #2325)
- Fix crashes when tag appears multiple times in a post (Issue #2315)
- Use binary I/O for
.svg
files in galleries - Accept
.svgz
extension by default - Don't randomly load plugins when Nikola is called with no arguments (Issue #2297)
v7.7.7
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.7. 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
--one-file
option to wordpress importer (Issue #2262) - New Pygal-based chart shortcode (Issue #2170)
- Add
post_type
to post-list directive (Issue #2272) - Use
sys.executable
for launching pip inplugin
(Issue #2275)
Bugfixes
- Fix Indonesian translation (Issue #2291)
- Fix a JSON conversion bug in the WordPress importer (Issue #2264)
- Don’t create download directories when not downloading WordPress
attachments (Issue #2260) - Don’t display "Good link" messages in
nikola check -l
by default,
can be re-enabled with-v
option (Issue #2268) - Fix a format string in
nikola check
(Issue #2267) - Don't crash wordpress importer when posts are "empty" (Issue #2263)
- Don't put untranslated and nonexistant posts in sitemap (Issue #2289)
v7.7.6: Version 7.5.6
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.6. 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/
This is a bugfix release, fixing a critical error in version 7.7.5's support for IPython/Jupyter notebooks.
If you had upgraded Nikola to version 7.7.5 and suddenly got errors or empty pages for your notebooks,
upgrade to 7.7.6 and run nikola build -a
to get everything in order.
Really sorry!
Downloads
Install using pip install Nikola
or download tarballs on GitHub and PyPI.
Changes
Features
- Add
FRONT_INDEX_HEADER
setting to allow adding greeting notices
to the main index page (Issue #2249)
Bugfixes
v7.7.5
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.5. 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
- Add
nikola theme --new
command for creating new themes (Issue #2231) - Add
nikola theme --copy-template
command for copying templates
to customize them (Issue #2231) - Add
nikola theme --uninstall
command for deleting themes (Issue #2231) - Replace
nikola install_theme
with more capablenikola theme
command (Issue #2231) - Allow for customizing
github_deploy
commit messages with-m
(Issue #2198) - Commit to source branch automatically in
github_deploy
ifGITHUB_COMMIT_SOURCE
is set to True (Issue #2186) - Hugo-like shortcodes (Issue #1707)
- New Galician translation
- New facilities for data persistence and data caching (Issues #2209 and #2009)
- (internal) allow
scripts/jinjify.py
usage with scripts (Issue #2240)
Bugfixes
- Fix some rebuilds with indexes and galleries
- Make state files work on Python 3
- Don’t attempt to create redirects for URLs with query strings in
WordPress imports if the site is in a subdirectory (Issue #2224) - Avoid some random file rebuilds (Issue #2220)
- Honor
MATHJAX_CONFIG
setting - Display tags and archives in a unified format, with the date on the
left, instead of a misplaced dash in tags (Issue #2212) - Decide
is_mathjax
based on current language tags (Issue #2205) - Don't duplicate images in flowr when resizing page (Issue #2202)
v7.7.4
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.4. 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
- Added cache for Jinja templates (Issue #2166)
- Use Jupyter instead of IPython shims (Issue #1938)
- Automatically open gallery images colorbox based on URL fragment (Issue #2146)
Bugfixes
- Fix enclosures from metadata (Issue #2189)
- Restored log level to INFO (it broke many messages)
- Check HTTP response status of minifying tools and skip them if they’re unavailable
- Change rewrite rule for fragment-only links (Issue #2132)
- Mention disabled plugins in
nikola plugin --list-installed
(Issue #2139) - Don't examine all gallery image dates every build (Issue #2160)
v7.7.3
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.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
- Recommend
ghp-import2
(better packaging) (Issue #2152) - New
TAGS_INDEX_PATH
option for overwriting the path
of the tag index list page. - Support for
~~strikethrough~~
in Markdown (Issue #2149) - Hungarian translation (by Baptiste Darthenay)
serve
andauto
publishes DNS Service Discovery records
to the local network announcing they’re running web servers.
Bugfixes
- Implement translating
DATE_FORMAT
properly - Remove superfluous translatability for a boolean (Issue #2140)
- Pass messages to post-list template (Issue #2156)
- Changed default log level from INFO to NOTICE (
nikola check
is less chatty) - Fix support for panorama images in gallery(Issue #2143)
- Support "maps.world.World" and similar charts in Pygal (Issue #2142)
- Capitalize "UTF-8" properly in locale guessing (Issue #2137)
v7.7.2
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.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/
Downloads
Install using pip install Nikola
or download tarballs on GitHub and PyPI.
Changes
Features
- Warning about Python 2.7 deprecation (Issues #2121, #2122)
- New
jsonminify
filter for minifying JSON files. - New
xmlminify
filter for minifying XML files. - New option
FEED_PREVIEWIMAGE
includes thepost.meta.previewimage
image in Atom and RSS feeds. (Issue #2095)
Bugfixes
- Support Pillow v3.0.0 (Issue #2130)
- Support setting template in metadata in translated posts (Issue #2114)
- Fix false orphan report for code.css and robots.txt (Issue #2106)
- Fix reST post list date formatting error (Issue #2104)
- Deprecated
RSS_TEASERS
,RSS_PLAIN
,RSS_READ_MORE_LINK
, and
RSS_LINKS_APPEND_QUERY
in favor ofFEED_TEASERS
,FEED_PLAIN
,
FEED_READ_MORE_LINK
, andFEED_LINKS_APPEND_QUERY
for both Atom
and RSS feeds. (Issue #2095) - /robots.txt was never being built (Issue #2098)
- SVG thumbnails (Issue #2094)
Deprecations
Post.section_link
is now deprecated (Issue #2086). Use
site.link('section_index', post.section_slug())
instead.
v7.7.1
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.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/
About This Release
This release focused in fixing bugs. We fixed so many, we have now fewer than 10 bugs open!
Also, we added a new tutorial to the website, about
creating heavily customized pages
check it out, the end result is pretty cool!
Downloads
Install using pip install Nikola
or download tarballs on GitHub and PyPI.
Changes
Features
- Better Template / JS / CSS demo in sample site.
- New normalize_html filter
- Support UTF-8 paths and encoded links when the
USE_SLUGIFY
option
is disabled. (Issue #2037) - Per-document hyphenation using "hyphenate" metadata flag.
- New option USE_KATEX to switch from MathJax to KaTeX (Experimental).
- Support SVG in galleries (Issue #1605)
- Made TAG_PATH translatable (Issue #1914)
- Made CATEGORY_PATH translatable (Issue #1914)
- Display post counts for archive links (Issue #2011)
- Document link/path handlers (Issue #2008)
- Made DATE_FORMAT and JS_DATE_FORMAT translatable (Issue #2032)
Bugfixes
- Generate language-specific section links (Issue #2069)
- Rebuild pages when user changes POST_SECTION_COLORS (Issue #2066)
- Look for bundle assets also in output/, allowing bundling of files
created by plugins (Issue #1370) - In listings, if lexer is not specified, use literal (Issue #2078)
- Remove bogus ambiguity on listing links (Issue #2080)
- Unix-slash caused conflict in Windows (Issue #2079)
- Locale is now threadsafe, avoid races in threaded builds (Issue #2071)
- Make typogrify filter work when applied from metadata (Issue #2064)
- Handle metadata in post files that start with a BOM (Issue #2059)
- Handle error downloading bootswatches (Issue #2054)
- Monitor plugins/ in
nikola auto
(Issue #2044) - Multi-lingual and multi-level directories confused section slug
detection (Issue #2023) - Use Unicode strings for WordPress comment headers (Issue #2019)
- Don't add stories to author pages (Issue #2007)
v7.7.0
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.7.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.6.4
- Sections by Daniel Aleksandersen
- Author pages by Juanjo Conti
Downloads
Install using pip install Nikola
or download tarballs on GitHub and PyPI.
Changes
Features
- New support for online CSS and JS minifying services (Issue #1999)
- Make tag optional with USE_BASE_TAG flag (Issue #1985)
- Render author pages (Issue #1972)
- Atom feeds for tag lists (Issue #1686)
- New
THEME_COLOR
option for customizing themes from a primary color
(Issue #1980) - New
color_hsl_adjust_hex
andcolorize_str_from_base_color
functions available in themes (Issue #1980) - New
POSTS
output subfolders now generate sections by deault
(Issue #1980) - New
POSTS_SECTIONS
andPOSTS_SECTION_*
options for
configuring the section pages (Issue #1980) - For themers: Each
post
are now asssociated with section_color,
section_link, and section_name (Issue #1980) - Each new section page has a auto-assigned color based on shifting
the hue ofTHEME_COLOR
based on a hash of the section name,
can be overwritten withPOSTS_SECTION_COLORS
option (Issue #1980) - New
TAG_PAGES_TITLES
andCATEGORY_PAGES_TITLES
options
(Issue #1962) - Add Bosnian and Serbian (Latin) languages, by Saša Savić [bs, sr_latin]
- Add Portuguese (Portugal) language, by jamatos [pt]
Bugfixes
- Make nikola tabcompletion work outside sites (Issue #1983)
- Fix display of categories list in bootstrap theme (Issue #2002)
- If webassets is not installed, use unbundled assets (Issue #1992)
- Check links in Atom and sitemap files (Issue #1993)
- Link checker should check all absolute URLs to self (Issue #1991)
- Check
img|source[@srcset]
as part ofcheck -l
(Issue #1989) - Clean up translations for third party components
pagekind["main_index"]
set on the main indexes to differentiate
them from all the other indexes.- Add dependency on metadata file for 2-file posts (Issue #1968)
- Set UTF-8 charset in Content-Type or text/* and *+xml (Issue #1966)
v7.6.4
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.6.4. 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
- Checking remote links also checks redirects (nikola check -lr)
- Update suggested license to its latest version (Issue #1950)
- Add Punjabi language, by Jasdeep Singh (Issue #1940)
- New option to use custom, and several
TEASER_END
values
Bugfixes
- Rewrite srcset links (Issue #1939)
- Add dependencies for include tag in Mako (Issue #1956)
- Don’t duplicate BLOG_TITLE in the front page title (Issue #1952)
- Escape instad of strip HTML in titles (Issue #1952)
- Make LINK_CHECK_WHITELIST apply to remote link checks
- Make STORY_INDEX work together with PRETTY_URLS (Issue #1949)
- Refactor new_post to match lazy plugin loading (Issue #1943)
- Make Nikola startup faster by not loading useless plugins (Issue #1825)
- Ignore sliced multibyte characters when reading metadata for sitemaps
- Fix NameError caused by failed import in auto plugin.