Add `category` as a default meta field.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Merge pull request #1533 from getnikola/category-as-default

Add `category` as a default meta field.
Made tags' and categories' path configuration more flexible.
Making sure there are no collisions between tags and categories.
Supporting PRETTY_URLS also for categories.
Fixed a problem with Python2.
Deprecation warning for WRITE_TAG_CLOUD.
Added/extended change documentation.
Using kw[] instead of self.site.config[] where possible.
Fixed something forgotten in 2812aa070d8e5a4502f667dfae6dd6b9948ddef5.
fix handling of WRITE_TAG_CLOUD

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
add category to 1.rst

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
Merge pull request #1535 from getnikola/more_flexible_tags

Made tags' and categories' path configuration more flexible.
add NikolaPygmentsHTML

This is a Nikola-specific Pygments HTML formatter, which produces code
identical to that of reST, but with `table` line numbers (if desired).
Code produced by the formatter is therefore compatible with existing
code.css files, and it also removes the need to write regexps to fix
things that didn’t comply.

The Markdown compiler still uses a regexp, another patch is needed for that.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
fix #1285 -- Add a modernized CodeBlock directive.

This is a saner and more modern rewrite of the CodeBlock directive
from reStructuredText.  This version defers the generation of all the
HTML to NikolaPygmentsHTML instead of a mix of a Pygments Lexer and a
custom hack.  As such, we can now use the `table` line numbers instead
of the broken `inline` mess that makes copy-pasting impossible.

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
update changelog

Signed-off-by: Chris Warrick <kwpolska@gmail.com>