1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-12-26 02:08:13 +00:00

Fixed bug in title

It used to add <h2> from the page title
This commit is contained in:
J. Fernando Sánchez 2016-02-03 19:23:16 +01:00
parent dd10587f27
commit 89639de380
6 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block content_title %}
{% block site_title %}
{{ article.title }}
{% endblock %}
{% block content %}

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ SITENAME }}</title>
<title>{{ SITENAME }} - {% block site_title %}WELCOME{% endblock %}</title>
<meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS -->

View File

@ -0,0 +1,2 @@
{% extends "index.html" %}
{% block site_title %}{{ category }}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block content_title %}
{% block site_title %}
{{ page.title }}
{% endblock %}
{% block content %}

View File

@ -1,5 +1,5 @@
{% extends "index.html" %}
{% block content_title %}{{ SITENAME }} - {{ tag }}{% endblock %}
{% block site_title %}{{ tag }}{% endblock %}
{% block pre_articles %}
<h1>Entries tagged: {{ tag }}</h1>
{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block content_title %}
{% block site_title %}
{{ page_name }}
{% endblock %}
{% block content %}