Added `htmltitle` block in layout template.

This commit is contained in:
Georg Brandl
2009-11-08 19:03:57 +01:00
parent 6a46b76349
commit 51a1698dc6
2 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ Release 1.0 (in development)
* Added ``latexpdf`` target in quickstart Makefile.
* Added ``htmltitle`` block in layout template.
Release 0.6.4 (in development)
==============================

View File

@@ -98,7 +98,9 @@
{%- else %}
{%- set titlesuffix = "" %}
{%- endif %}
{%- block htmltitle %}
<title>{{ title|striptags }}{{ titlesuffix }}</title>
{%- endblock %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
{%- for cssfile in css_files %}