The Rankle theme tailors to the needs of easy to read documentation and focus on versioned pages in git while make it still possible to add opinionated blog pages, either separated or mixed. This page describes briefly the Pankyll theme Rankle. It shows the prerequisites, the installation, the features and configuration of the theme. The lightweight theme’s main feature is to use contrast colors for different information sections, that let you focus on the distinct sections.
Pankyll uses Jinja2 templates with gettext support for i18n by using the Python gettext module.
Old - python-brace-format:
{% if wordcount and wordcount > 99 %}
<li>
A {{ngettext('{num} word','{num} words', wordcount).format(num=wordcount)}}
</li>
{% endif %}
#: layouts/partials/wordcount.html:3
msgid "{num} word"
msgid_plural "{num} words"
msgstr[0] "{num} Wort"
msgstr[1] "{num} Worte"
New - python-format:
{% if wordcount and wordcount > 99 %}
<li>
B {{ngettext("%(num)d word","%(num)d words", wordcount)}}
</li>
{% endif %}
#: layouts/partials/wordcount.html:4
msgid "%(num)d word"
msgid_plural "%(num)d words"
msgstr[0] "%(num)d Wort"
msgstr[1] "%(num)d Worte"
more:
en_US:
- link:
text: Categories
url: /en_US/Categories/
- link:
text: Tags
url: /en_US/Tags/