Nikola v7 finally out!
I am thrilled to announce version 7 of Nikola, a static site and blog generator is out, with a bazillion features and bugfixes (see below).
You can get it at all the usual places, and here's the release announcement
Here's the new features, the bugfixes list would make the post too long :-)
Added
UNSLUGIFY_TITLES
option for making titles fetched via the filename regexp prettier (Issue #1282)New dependencies:
natsort
(natural sorting in galleries) anddateutil
(replacespytz
)Nikola.commands are now the user-friendly wrappers from console (Issue #1177)
Add a
github_deploy
command to deploy to GitHub pages (Issue #1208)Remove tidy filter (it was broken due to tidy being ancient) (Issue #1164)
Added
GENERATE_RSS
setting to allow disabling RSS in Nikola (Issue #1236)Link listings raw sources if COPY_SOURCES is True (Issue #1214)
Much more powerful
nikola plugin
command (Issue #1189)More powerful console mode allows access to all nikola commands (Issue #830)
New
`ROBOTS_EXCLUSIONS`
option listing resources to exclude from sitemap and include in new generated /robots.txt (Issue #804)Generate sitemapindex containing RSS and sitemap files (Issue #804)
Support hooks in templates, for use by plugins (Issue #896)
Use readline if available (Issue #1238)
Replaced
READ_MORE_LINK
withINDEX_READ_MORE_LINK
andRSS_READ_MORE_LINK
(Issue #1222)Added reading_time, remaining_reading_time, paragraph_count, remaining_paragraph_count tags for READ_MORE_LINK (Issue #1220)
Add canonical link in listings.
Added support for new meta files that are the same format as 1-file metadata, allowing for greater flexibility (Issue #954)
Colorbox is now internationalized (Issue #1205)
Added LOGO_URL and SHOW_BLOG_TITLE=True settings to facilitate showing off logos (Issue #1122)
Create automatic story index pages for subfolders, too (Issue #793)
New Slovak translation by Tomáš Prékop
Created a MarkdownExtension plugin class (Issue #1175)
The base theme produces properly sectioned and semantic HTML5 (Issues #1123, #1137)
The base theme comes with a new stylish look by default (Issue #1137)
The base theme supports Right-to-Left by using ::dir(rtl) CSS4 rules and <html dir="rtl"> tags where valid (Issue #1146)
Bootstrap 2 updated to 2.3.2 (via Issue #1137)
Added FORCE_ISO8601 setting that currently makes new_post use ISO 8601 dates (via Issue #1156)
Added support for TZ specified in post date (Issue #1118)
Make
nikola init
ask about the site’s settings (Issue #1080)Use natural sorting for files and folders list in listings and galleries (Issue #1144)
Added invariance testing (Issue #672)
Plugins can inject templates in the system (Issue #1139)
nikola import_wordpress
now has a--qtranslate
option, to parse posts in the qtranslate wordpress plugin format and turn them into multilingual Nikola posts (Issue #1072)nikola console
allows for interpreter choice via -b, -i, -p; moreover, support for bpython is not deprecated anymore (Issue #1126)retired
tag for posts has been replaced withprivate
(via Issue #686)Changed the default TRANSLATIONS_PATTERN to "{path}.{lang}.{ext}". (Issues #990, #829)
Backwards compatibility with v5 is broken. Added backwards-incompatible changes. (Issue #829)
Added a
CONTENT_FOOTER_FORMATS
config option. It is used to format theCONTENT_FOOTER
variable properly, for compatibility with the Translatable Settings feature. The variable takes a dict, the keys of which are languages, and values are (args, kwargs). (Issue #1112)Certain settings are now translatable. As of now, the settings are: BLOG_AUTHOR, BLOG_TITLE, BLOG_DESCRIPTION, LICENSE, CONTENT_FOOTER, SOCIAL_BUTTONS_CODE, SEARCH_FORM, BODY_END, EXTRA_HEAD_DATA, NAVIGATION_LINKS, READ_MORE_LINK (the up-to-date list is available in SITE.TRANSLATABLE_SETTINGS) (Issues #851, #1057, #1061, #1112)
New Post.author() returns meta 'author' or BLOG_AUTHOR (Issue #1117)
Ship base-jinja, bootstrap-jinja, bootstrap3-jinja with Nikola (Issue #1104)
Invert
HIDE_SOURCELINK
andHIDE_UNTRANSLATED_POSTS
intoSHOW_SOURCELINK
andSHOW_UNTRANSLATED_POSTS
(Issue #1076)-
Remove old messages left over for backwards compatibility: (Issues #829, #1105)
"More posts about", replaced by "More posts about %s"
"Posted", replaced by "Posted:"
"Also available in", replaced by "Also available in:"
Remove old "sl_SI", "tr_TR" locale aliases (use "sl" and "tr") (Issue #829, #1105)
New option RSS_PLAIN to optionally strip HTML from RSS feeds (Issue #1107)
Support content key in compilers' create_post (Issue #1098)
Use setuptools’ extras feature. Use
pip install nikola[extras]
to install Nikola with extras (requirements-extras.txt
, formerlyrequirements-full.txt
-- note the name change!) (Issue #1089)
Gracias a todos los que laburaron en esta release. Ya migré y, además de que fue muy sencillo, mi blog quedó más lindo con el tema que trae por defecto. Se nota que está un poco más pulido :D