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:
parent
dd10587f27
commit
89639de380
@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content_title %}
|
||||
{% block site_title %}
|
||||
{{ article.title }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
@ -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 -->
|
||||
|
2
balkiantheme/templates/category.html
Normal file
2
balkiantheme/templates/category.html
Normal file
@ -0,0 +1,2 @@
|
||||
{% extends "index.html" %}
|
||||
{% block site_title %}{{ category }}{% endblock %}
|
@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content_title %}
|
||||
{% block site_title %}
|
||||
{{ page.title }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
@ -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 %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content_title %}
|
||||
{% block site_title %}
|
||||
{{ page_name }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
Loading…
Reference in New Issue
Block a user