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:
output: true
permalink: /:collection/:path/
tutorials:
output: true
permalink: /:collection/:path/
# Plugins
# --------------------

View File

@ -24,48 +24,4 @@ title: Guides
{% endfor %}
</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>

View File

@ -73,7 +73,7 @@ intro:
</div>
<div class="row row--wide">
<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">
<article class="guide">
<a href="{{ guide.url }}">