From 0dd220a4db5142807e40ec73465e6421f6a3fa03 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 22 Dec 2015 11:50:18 +0100 Subject: [PATCH] Renamed blog layout template --- content/docs/guides/blog/contents.lr | 2 +- templates/blog-archive/index.html | 2 +- templates/blog-archive/month.html | 2 +- templates/blog-archive/year.html | 2 +- templates/{blog_layout.html => blog-layout.html} | 0 templates/blog.html | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename templates/{blog_layout.html => blog-layout.html} (100%) diff --git a/content/docs/guides/blog/contents.lr b/content/docs/guides/blog/contents.lr index 5c145496..24be0454 100644 --- a/content/docs/guides/blog/contents.lr +++ b/content/docs/guides/blog/contents.lr @@ -90,7 +90,7 @@ instead of `this.children` which will return only the items for the intended page. ```html+jinja -{% extends "blog_layout.html" %} +{% extends "layout.html" %} {% from "macros/pagination.html" import render_pagination %} {% block title %}My Blog{% endblock %}

My Blog

diff --git a/templates/blog-archive/index.html b/templates/blog-archive/index.html index 028b8cb8..f1342024 100644 --- a/templates/blog-archive/index.html +++ b/templates/blog-archive/index.html @@ -1,4 +1,4 @@ -{% extends "blog_layout.html" %} +{% extends "blog-layout.html" %} {% block title %}Archive | The Transcript{% endblock %} {% block blog_body %}

The Transcript Archive

diff --git a/templates/blog-archive/month.html b/templates/blog-archive/month.html index c014a382..3f4247ec 100644 --- a/templates/blog-archive/month.html +++ b/templates/blog-archive/month.html @@ -1,4 +1,4 @@ -{% extends "blog_layout.html" %} +{% extends "blog-layout.html" %} {% block title %}{{ this.date|dateformat('MMMM yyyy') }} Archive | The Transcript{% endblock %} {% block blog_body %}

The Transcript, {{ this.date|dateformat('MMMM yyyy') }}

diff --git a/templates/blog-archive/year.html b/templates/blog-archive/year.html index a194f968..d387409a 100644 --- a/templates/blog-archive/year.html +++ b/templates/blog-archive/year.html @@ -1,4 +1,4 @@ -{% extends "blog_layout.html" %} +{% extends "blog-layout.html" %} {% block title %}{{ this.year }} Archive | The Transcript{% endblock %} {% block blog_body %}

The Transcript in {{ this.year }}

diff --git a/templates/blog_layout.html b/templates/blog-layout.html similarity index 100% rename from templates/blog_layout.html rename to templates/blog-layout.html diff --git a/templates/blog.html b/templates/blog.html index ab636996..bdf83ffb 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -1,4 +1,4 @@ -{% extends "blog_layout.html" %} +{% extends "blog-layout.html" %} {% from "macros/pagination.html" import render_pagination %} {% block title %}The Transcript{% endblock %} {% block blog_body %}