From 5e90a88f777f53295d12b43572fc922b63261246 Mon Sep 17 00:00:00 2001 From: rehrar Date: Tue, 19 Dec 2017 14:07:07 -0700 Subject: [PATCH] Added two new layouts for use by User Guides - The goal being to allow for titles within the user guides while not over complicating the layouts and titles --- _layouts/blog_by_tag.html | 6 +++--- _layouts/customnt.html | 7 +++++++ _layouts/default.html | 2 +- _layouts/static_page.html | 2 +- _layouts/user-guide.html | 14 ++++++++++++++ 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 _layouts/customnt.html create mode 100644 _layouts/user-guide.html diff --git a/_layouts/blog_by_tag.html b/_layouts/blog_by_tag.html index 1b357a77..0fae8397 100644 --- a/_layouts/blog_by_tag.html +++ b/_layouts/blog_by_tag.html @@ -23,7 +23,7 @@ layout: custom
{% if site.tags[tag.slug] %} {% for post in site.tags[tag.slug] %} -

{{ post.title }}

+

{{ post.title }}

{{ post.summary }}

@@ -46,7 +46,7 @@ layout: custom {% for post in site.posts limit:4 %} {% endfor %} @@ -60,7 +60,7 @@ layout: custom {% for tag in site.data.tags limit:4 %} {% endfor %} diff --git a/_layouts/customnt.html b/_layouts/customnt.html new file mode 100644 index 00000000..8ed8b39e --- /dev/null +++ b/_layouts/customnt.html @@ -0,0 +1,7 @@ +--- +layout: base +--- + +
+ {{content}} +
\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 94ba7876..687f0d8a 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,5 +1,5 @@ --- layout: base --- -

{{page.title}}

+

{% t page.title %}

{{content}} \ No newline at end of file diff --git a/_layouts/static_page.html b/_layouts/static_page.html index e224d019..95eb68b0 100644 --- a/_layouts/static_page.html +++ b/_layouts/static_page.html @@ -1,7 +1,7 @@ --- layout: base --- -

{{page.title}}

+

{% t page.title %}

diff --git a/_layouts/user-guide.html b/_layouts/user-guide.html new file mode 100644 index 00000000..2cde2d7e --- /dev/null +++ b/_layouts/user-guide.html @@ -0,0 +1,14 @@ +--- +layout: base +--- +
+ +
+
+
+ {{content}} +
+
+
+ +
\ No newline at end of file