mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-25 03:03:16 +01:00
add 'tutorials' page type (incomplete), add sections to /guides
This commit is contained in:
parent
f91d448675
commit
2b482f1e39
@ -93,6 +93,9 @@ collections:
|
||||
guides:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
tutorials:
|
||||
output: true
|
||||
permalink: /:collection/:path/
|
||||
|
||||
|
||||
# Plugins
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: guide
|
||||
layout: guide
|
||||
|
||||
title: Tutorial: Car Telemetry App
|
||||
description: Build your own car telemetry application
|
@ -25,3 +25,47 @@ title: Guides
|
||||
</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>
|
@ -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 }}">
|
||||
|
Loading…
Reference in New Issue
Block a user