mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-04 23:51:11 +02:00
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:
parent
f030835df8
commit
5e90a88f77
@ -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
7
_layouts/customnt.html
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
layout: base
|
||||
---
|
||||
|
||||
<div class="site-wrap">
|
||||
{{content}}
|
||||
</div>
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: base
|
||||
---
|
||||
<h1 class="text-center">{{page.title}}</h1>
|
||||
<h1 class="text-center">{% t page.title %}</h1>
|
||||
{{content}}
|
@ -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
14
_layouts/user-guide.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user