Skip to content

Commit 1f85737

Browse files
committedOct 8, 2015
Nikola v7.7.2
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent 2fc28be commit 1f85737

9 files changed

+138
-25
lines changed
 

‎listings/conf.py

+21-14
Original file line numberDiff line numberDiff line change
@@ -493,9 +493,6 @@
493493
# output / TRANSLATION[lang] / RSS_PATH / rss.xml
494494
# RSS_PATH = ""
495495

496-
# Number of posts in RSS feeds
497-
# FEED_LENGTH = 10
498-
499496
# Slug the Tag URL. Easier for users to type, special characters are
500497
# often removed or replaced as well.
501498
# SLUG_TAG_PATH = True
@@ -745,18 +742,18 @@
745742

746743
# 'Read more...' for the index page, if INDEX_TEASERS is True (translatable)
747744
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}…</a></p>'
748-
# 'Read more...' for the RSS_FEED, if RSS_TEASERS is True (translatable)
749-
RSS_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'
745+
# 'Read more...' for the RSS_FEED, if FEED_TEASERS is True (translatable)
746+
FEED_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'
750747

751-
# Append a URL query to the RSS_READ_MORE_LINK in Atom and RSS feeds. Advanced
748+
# Append a URL query to the FEED_READ_MORE_LINK in Atom and RSS feeds. Advanced
752749
# option used for traffic source tracking.
753750
# Minimum example for use with Piwik: "pk_campaign=feed"
754751
# The following tags exist and are replaced for you:
755752
# {feedRelUri} A relative link to the feed.
756753
# {feedFormat} The name of the syndication format.
757754
# Example using replacement for use with Google Analytics:
758755
# "utm_source={feedRelUri}&utm_medium=nikola_feed&utm_campaign={feedFormat}_feed"
759-
RSS_LINKS_APPEND_QUERY = False
756+
FEED_LINKS_APPEND_QUERY = False
760757

761758
# A HTML fragment describing the license, for the sidebar.
762759
# (translatable)
@@ -957,22 +954,32 @@
957954
# them. Generate Atom for tags by setting TAG_PAGES_ARE_INDEXES to True.
958955
# Atom feeds are built based on INDEX_DISPLAY_POST_COUNT and not FEED_LENGTH
959956
# Switch between plain-text summaries and full HTML content using the
960-
# RSS_TEASER option. RSS_LINKS_APPEND_QUERY is also respected. Atom feeds
957+
# FEED_TEASER option. FEED_LINKS_APPEND_QUERY is also respected. Atom feeds
961958
# are generated even for old indexes and have pagination link relations
962959
# between each other. Old Atom feeds with no changes are marked as archived.
963960
# GENERATE_ATOM = False
964961

962+
# Only inlclude teasers in Atom and RSS feeds. Disabling include the full
963+
# content. Defaults to True.
964+
# FEED_TEASERS = True
965+
966+
# Strip HTML from Atom annd RSS feed summaries and content. Defaults to False.
967+
# FEED_PLAIN = False
968+
969+
# Number of posts in Atom and RSS feeds.
970+
# FEED_LENGTH = 10
971+
972+
# Inclue preview image as a <figure><img></figure> at the top of the entry.
973+
# Requires FEED_PLAIN = False. If the preview image is found in the content,
974+
# it will not be included again. Image will be included as-is, aim to optmize
975+
# the image source for Feedly, Apple News, Flipboard, and other popular clients.
976+
# FEED_PREVIEWIMAGE = True
977+
965978
# RSS_LINK is a HTML fragment to link the RSS or Atom feeds. If set to None,
966979
# the base.tmpl will use the feed Nikola generates. However, you may want to
967980
# change it for a FeedBurner feed or something else.
968981
# RSS_LINK = None
969982

970-
# Show teasers (instead of full posts) in feeds? Defaults to True.
971-
# RSS_TEASERS = True
972-
973-
# Strip HTML in the RSS feed? Default to False
974-
# RSS_PLAIN = False
975-
976983
# A search form to search this site, for the sidebar. You can use a Google
977984
# custom search (https://www.google.com/cse/)
978985
# Or a DuckDuckGo search: https://duckduckgo.com/search_box.html

‎posts/nikola-v772-is-out.txt

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
.. title: Nikola v7.7.2 is out!
2+
.. slug: nikola-v772-is-out
3+
.. date: 2015-10-08 15:20:51 UTC
4+
.. tags: nikola, planet, python, programming, release
5+
.. category:
6+
.. link:
7+
.. description:
8+
.. type: text
9+
.. author: Chris Warrick
10+
11+
On behalf of the Nikola team, I am pleased to announce the immediate
12+
availability of Nikola v7.7.2. It fixes some bugs and adds new
13+
features.
14+
15+
What is Nikola?
16+
===============
17+
18+
Nikola is a static site and blog generator, written in Python.
19+
It can use Mako and Jinja2 templates, and input in many popular markup
20+
formats, such as reStructuredText and Markdown — and can even turn
21+
Jupyter (IPython) Notebooks into blog posts! It also supports image
22+
galleries, and is multilingual. Nikola is flexible, and page builds
23+
are extremely fast, courtesy of doit (which is rebuilding only what
24+
has been changed).
25+
26+
Find out more at the website: https://getnikola.com/
27+
28+
Downloads
29+
=========
30+
31+
Install using ``pip install Nikola`` or download tarballs on `GitHub`__ and `PyPI`__.
32+
33+
__ https://github.com/getnikola/nikola/releases/tag/v7.7.2
34+
__ https://pypi.python.org/pypi/Nikola/7.7.2
35+
36+
Changes
37+
=======
38+
39+
Features
40+
--------
41+
42+
* Warning about Python 2.7 deprecation (Issues #2121, #2122)
43+
* New ``jsonminify`` filter for minifying JSON files.
44+
* New ``xmlminify`` filter for minifying XML files.
45+
* New option ``FEED_PREVIEWIMAGE`` includes the ``post.meta.previewimage``
46+
image in Atom and RSS feeds. (Issue #2095)
47+
48+
Bugfixes
49+
--------
50+
51+
* Support Pillow v3.0.0 (Issue #2130)
52+
* Support setting template in metadata in translated posts (Issue #2114)
53+
* Fix false orphan report for code.css and robots.txt (Issue #2106)
54+
* Fix reST post list date formatting error (Issue #2104)
55+
* Deprecated ``RSS_TEASERS``, ``RSS_PLAIN``, ``RSS_READ_MORE_LINK``, and
56+
``RSS_LINKS_APPEND_QUERY`` in favor of ``FEED_TEASERS``, ``FEED_PLAIN``,
57+
``FEED_READ_MORE_LINK``, and ``FEED_LINKS_APPEND_QUERY`` for both Atom
58+
and RSS feeds. (Issue #2095)
59+
* /robots.txt was never being built (Issue #2098)
60+
* SVG thumbnails (Issue #2094)
61+
62+
Deprecations
63+
------------
64+
65+
* ``Post.section_link`` is now deprecated (Issue #2086). Use
66+
``site.link('section_index', post.section_slug())`` instead.

‎stories/AUTHORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,4 @@
106106
* `yarko <https://github.com/yarko>`_
107107
* `小明 <https://github.com/dongweiming>`_
108108
* `Brad Miller <https://github.com/bnmnetp>`_
109+
* `Florian Finkernagel <https://github.com/TyberiusPrime>`_

‎stories/CHANGES.txt

+34-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
New in v7.7.2
2+
=============
3+
4+
Features
5+
--------
6+
7+
* Warning about Python 2.7 deprecation (Issues #2121, #2122)
8+
* New ``jsonminify`` filter for minifying JSON files.
9+
* New ``xmlminify`` filter for minifying XML files.
10+
* New option ``FEED_PREVIEWIMAGE`` includes the ``post.meta.previewimage``
11+
image in Atom and RSS feeds. (Issue #2095)
12+
13+
Bugfixes
14+
--------
15+
16+
* Support Pillow v3.0.0 (Issue #2130)
17+
* Support setting template in metadata in translated posts (Issue #2114)
18+
* Fix false orphan report for code.css and robots.txt (Issue #2106)
19+
* Fix reST post list date formatting error (Issue #2104)
20+
* Deprecated ``RSS_TEASERS``, ``RSS_PLAIN``, ``RSS_READ_MORE_LINK``, and
21+
``RSS_LINKS_APPEND_QUERY`` in favor of ``FEED_TEASERS``, ``FEED_PLAIN``,
22+
``FEED_READ_MORE_LINK``, and ``FEED_LINKS_APPEND_QUERY`` for both Atom
23+
and RSS feeds. (Issue #2095)
24+
* /robots.txt was never being built (Issue #2098)
25+
* SVG thumbnails (Issue #2094)
26+
27+
Deprecations
28+
------------
29+
30+
* Post.section_link is now deprecated (Issue #2086). Use
31+
site.link('section_index', post.section_slug()) instead. (not
32+
'section_index_link', as previously stated in this document)
33+
134
New in v7.7.1
235
=============
336

@@ -632,7 +665,7 @@ Features
632665
* Link listings raw sources if COPY_SOURCES is True (Issue #1214)
633666
* Much more powerful ``nikola plugin`` command (Issue #1189)
634667
* More powerful console mode allows access to all nikola commands (Issue #830)
635-
* New ```ROBOTS_EXCLUSIONS``` option listing resources to exclude from sitemap
668+
* New ``ROBOTS_EXCLUSIONS`` option listing resources to exclude from sitemap
636669
and include in new generated /robots.txt (Issue #804)
637670
* Generate sitemapindex containing RSS and sitemap files (Issue #804)
638671
* Support hooks in templates, for use by plugins (Issue #896)

‎stories/conf.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.. title: Nikola v7.7.1 configuration file
1+
.. title: Nikola v7.7.2 configuration file
22
.. slug: conf
33
.. date: 2014-11-08 18:51:30 UTC
44
.. description: The Nikola configuration file.
55
.. type: text
66
.. author: The Nikola Team
77

8-
The default config file for Nikola v7.7.1 is reproduced below.
8+
The default config file for Nikola v7.7.2 is reproduced below.
99

1010
.. listing:: conf.py python

‎stories/extending.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Extending Nikola
1010
================
1111

12-
:Version: 7.7.1
12+
:Version: 7.7.2
1313
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>
1414

1515
.. class:: alert alert-info pull-right

‎stories/manual.txt

+11-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
The Nikola Handbook
1010
===================
1111

12-
:Version: 7.7.1
12+
:Version: 7.7.2
1313

1414
.. class:: alert alert-info pull-right
1515

@@ -515,8 +515,8 @@ In Markdown (or basically, the resulting HTML of any format):
515515
By default all your RSS feeds will be shortened (they'll contain only teasers)
516516
whereas your index page will still show complete posts. You can change
517517
this behaviour with your ``conf.py``: ``INDEX_TEASERS`` defines whether index
518-
page should display the whole contents or only teasers. ``RSS_TEASERS``
519-
works the same way for your RSS feeds.
518+
page should display the whole contents or only teasers. ``FEED_TEASERS``
519+
works the same way for your Atom and RSS feeds.
520520

521521
By default, teasers will include a "read more" link at the end. If you want to
522522
change that text, you can use a custom teaser:
@@ -1376,10 +1376,16 @@ jpegoptim
13761376
Compress JPEG files using `jpegoptim <http://www.kokkonen.net/tjko/projects.html>`_
13771377

13781378
cssminify
1379-
Minify CSS using http://cssminifier.com/ (requires internet access)
1379+
Minify CSS using http://cssminifier.com/ (requires Internet access)
13801380

13811381
jsminify
1382-
Minify JS using http://javascript-minifier.com/ (requires internet access)
1382+
Minify JS using http://javascript-minifier.com/ (requires Internet access)
1383+
1384+
jsonminify
1385+
Minify JSON files (strip whitespace and use minimal separators).
1386+
1387+
xmlminify
1388+
Minify XML files. Suitable for Nikola’s sitemaps and Atom feeds.
13831389

13841390
You can apply filters to specific posts or pages by using the ``filters`` metadata field:
13851391

‎stories/social_buttons.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Using Alternative Social Buttons with Nikola
1010
============================================
1111

12-
:Version: 7.7.1
12+
:Version: 7.7.2
1313

1414
.. class:: alert alert-info pull-right
1515

‎stories/theming.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Theming Nikola
1010
==============
1111

12-
:Version: 7.7.1
12+
:Version: 7.7.2
1313
:Author: Roberto Alsina <ralsina@netmanagers.com.ar>
1414

1515
.. class:: alert alert-info pull-right

0 commit comments

Comments
 (0)
Failed to load comments.