Renamed blog layout template

This commit is contained in:
Armin Ronacher 2015-12-22 11:50:18 +01:00
parent b1330e09c6
commit 0dd220a4db
6 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ instead of `this.children` which will return only the items for the intended
page. page.
```html+jinja ```html+jinja
{% extends "blog_layout.html" %} {% extends "layout.html" %}
{% from "macros/pagination.html" import render_pagination %} {% from "macros/pagination.html" import render_pagination %}
{% block title %}My Blog{% endblock %} {% block title %}My Blog{% endblock %}
<h1>My Blog</h1> <h1>My Blog</h1>

View File

@ -1,4 +1,4 @@
{% extends "blog_layout.html" %} {% extends "blog-layout.html" %}
{% block title %}Archive | The Transcript{% endblock %} {% block title %}Archive | The Transcript{% endblock %}
{% block blog_body %} {% block blog_body %}
<h1>The Transcript Archive</h1> <h1>The Transcript Archive</h1>

View File

@ -1,4 +1,4 @@
{% extends "blog_layout.html" %} {% extends "blog-layout.html" %}
{% block title %}{{ this.date|dateformat('MMMM yyyy') }} Archive | The Transcript{% endblock %} {% block title %}{{ this.date|dateformat('MMMM yyyy') }} Archive | The Transcript{% endblock %}
{% block blog_body %} {% block blog_body %}
<h1>The Transcript, {{ this.date|dateformat('MMMM yyyy') }}</h1> <h1>The Transcript, {{ this.date|dateformat('MMMM yyyy') }}</h1>

View File

@ -1,4 +1,4 @@
{% extends "blog_layout.html" %} {% extends "blog-layout.html" %}
{% block title %}{{ this.year }} Archive | The Transcript{% endblock %} {% block title %}{{ this.year }} Archive | The Transcript{% endblock %}
{% block blog_body %} {% block blog_body %}
<h1>The Transcript in {{ this.year }}</h1> <h1>The Transcript in {{ this.year }}</h1>

View File

@ -1,4 +1,4 @@
{% extends "blog_layout.html" %} {% extends "blog-layout.html" %}
{% from "macros/pagination.html" import render_pagination %} {% from "macros/pagination.html" import render_pagination %}
{% block title %}The Transcript{% endblock %} {% block title %}The Transcript{% endblock %}
{% block blog_body %} {% block blog_body %}