1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-14 15:42:28 +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" %} {% extends "base.html" %}
{% block content_title %} {% block site_title %}
{{ article.title }} {{ article.title }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <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"> <meta name="viewport" content="width=device-width">
<!-- syntax highlighting CSS --> <!-- 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" %} {% extends "base.html" %}
{% block content_title %} {% block site_title %}
{{ page.title }} {{ page.title }}
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View File

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

View File

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