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
This commit is contained in:
rehrar 2017-12-19 14:07:07 -07:00
parent f030835df8
commit 5e90a88f77
No known key found for this signature in database
GPG Key ID: 9B252A4EF355CC8D
5 changed files with 26 additions and 5 deletions

View File

@ -23,7 +23,7 @@ layout: custom
<div>
{% if site.tags[tag.slug] %}
{% for post in site.tags[tag.slug] %}
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<h3><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></h3>
<p>
{{ post.summary }}
</p>
@ -46,7 +46,7 @@ layout: custom
{% for post in site.posts limit:4 %}
<div class="row start-xs info-block-row">
<div class="col">
<p><a href="{{ post.url }}">{{ post.title }}</a></p>
<p><a href="{{site.baseurl}}/{{ post.url }}">{{ post.title }}</a></p>
</div>
</div>
{% endfor %}
@ -60,7 +60,7 @@ layout: custom
{% for tag in site.data.tags limit:4 %}
<div class="row start-xs">
<div class="col">
<p><a href="/blog/tags/{{ tag.slug }}.html">{{ tag.name }}</a></p>
<p><a href="{{site.baseurl}}/blog/tags/{{ tag.slug }}.html">{{ tag.name }}</a></p>
</div>
</div>
{% endfor %}

7
_layouts/customnt.html Normal file
View File

@ -0,0 +1,7 @@
---
layout: base
---
<div class="site-wrap">
{{content}}
</div>

View File

@ -1,5 +1,5 @@
---
layout: base
---
<h1 class="text-center">{{page.title}}</h1>
<h1 class="text-center">{% t page.title %}</h1>
{{content}}

View File

@ -1,7 +1,7 @@
---
layout: base
---
<h1 class="text-center">{{page.title}}</h1>
<h1 class="text-center">{% t page.title %}</h1>
<div class="site-wrap">
<!-- FULL WIDTH BLOCK -->
<section class="container full">

14
_layouts/user-guide.html Normal file
View File

@ -0,0 +1,14 @@
---
layout: base
---
<div class="site-wrap">
<!-- FULL WIDTH BLOCK -->
<section class="container full">
<div class="info-block text-adapt">
<div>
{{content}}
</div>
</div>
</section>
<!-- END FULL WIDTH BLOCK -->
</div>