diff options
Diffstat (limited to 'src/ablog/templates/languages.html')
-rw-r--r-- | src/ablog/templates/languages.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ablog/templates/languages.html b/src/ablog/templates/languages.html new file mode 100644 index 0000000..7353396 --- /dev/null +++ b/src/ablog/templates/languages.html @@ -0,0 +1,15 @@ +{{ warning("languages.html is an old template path, that is no longer used by +ablog. Please use ablog/languages.html instead.") }} {% if ablog.language %} +<div class="ablog-sidebar-item ablog__languages"> + <h3> + <a href="{{ pathto(ablog.language.path) }}">{{ gettext('Languages') }}</a> + </h3> + <ul> + {% for coll in ablog.language %} {% if coll %} + <li> + <a href="{{ pathto(coll.docname) }}">{{ coll }} ({{ coll|length }})</a> + </li> + {% endif %} {% endfor %} + </ul> +</div> +{% endif %} |