include short_description in the module page's title

This commit is contained in:
Mikhail Sobolev 2013-12-26 01:06:55 +02:00 committed by Michael DeHaan
parent 8b7327a2f6
commit 84948292f3

View file

@ -1,7 +1,15 @@
.. _@{ module }@:
@{ module }@
++++++++++++++++++++++++++++++++++++++
{% if short_description %}
{% set title = module + ' - ' + short_description|convert_symbols_to_format %}
{% else %}
{% set title = module %}
{% endif %}
{% set title_len = title|length %}
@{ title }@
@{ '+' * title_len }@
{% if author %}
:Author: @{ author }@
{% endif %}