Skip to content

Commit 06ce803

Browse files
authored
Merge pull request #39 from readthedocs/nienn/add-page-title
Add page title logic
2 parents 34f2089 + d2aa7fb commit 06ce803

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "base.html" %}
2+
{% block html_lang %}{{ page.lang }}{% endblock %}
3+
4+
5+
{% block title %}{% if page.title %}{{ page.title|striptags }} - {% endif %}{{ SITENAME }}{%endblock%}

0 commit comments

Comments
 (0)