1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

revert guides page sections and tutorials post type

This commit is contained in:
Morgan Sutherland 2017-11-16 17:21:19 +01:00
parent 5c7a37b0d9
commit 7c033c2a2a
4 changed files with 1 additions and 49 deletions

View File

@ -93,10 +93,6 @@ collections:
guides: guides:
output: true output: true
permalink: /:collection/:path/ permalink: /:collection/:path/
tutorials:
output: true
permalink: /:collection/:path/
# Plugins # Plugins
# -------------------- # --------------------

View File

@ -24,48 +24,4 @@ title: Guides
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
</section>
<section class="section section--guides background--darker">
<div class="row">
<header class="section-header">
<h1 class="section-title">Tutorials</h1>
</header>
</div>
<div class="row row--wide">
<div class="grid grid--full grid-small--half grid--gutters">
{% for tutorial in site.tutorials %}
<div class="grid__col">
<article class="guide">
<a href="{{ tutorial.url }}">
<h1 class="guide__title">{{ tutorial.title }}</h1>
<p class="guide__description">{{ tutorial.description }}</p>
</a>
</article>
</div>
{% endfor %}
</div>
</div>
</section>
<section class="section section--guides">
<div class="row">
<header class="section-header">
<h1 class="section-title">Examples</h1>
</header>
</div>
<div class="row row--wide">
<div class="grid grid--full grid-small--half grid--gutters">
{% for tutorial in site.tutorials %}
<div class="grid__col">
<article class="guide">
<a href="{{ tutorial.url }}">
<h1 class="guide__title">{{ tutorial.title }}</h1>
<p class="guide__description">{{ tutorial.description }}</p>
</a>
</article>
</div>
{% endfor %}
</div>
</div>
</section> </section>

View File

@ -73,7 +73,7 @@ intro:
</div> </div>
<div class="row row--wide"> <div class="row row--wide">
<div class="grid grid--full grid-small--half grid--gutters"> <div class="grid grid--full grid-small--half grid--gutters">
{% for guide in site.guides| limit: 4 %} {% for guide in site.guides | limit: 4 %}
<div class="grid__col"> <div class="grid__col">
<article class="guide"> <article class="guide">
<a href="{{ guide.url }}"> <a href="{{ guide.url }}">