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

manual order for guides

This commit is contained in:
Matthias Kretschmann 2017-11-23 13:27:25 +01:00
parent 63af9d0f6c
commit 7598ed1e79
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@ layout: guide
title: Key concepts of BigchainDB title: Key concepts of BigchainDB
tagline: Understand the transaction model of BigchainDB (identity, inputs, outputs, assets, transactions). tagline: Understand the transaction model of BigchainDB (identity, inputs, outputs, assets, transactions).
order: 1
--- ---
- Introduction: How do we structure data? - Introduction: How do we structure data?

View File

@ -4,6 +4,8 @@ layout: guide
title: "Tutorial: How to create a digital twin of your car" title: "Tutorial: How to create a digital twin of your car"
tagline: Build a telemetry app to digitally track the mileage of a car tagline: Build a telemetry app to digitally track the mileage of a car
header: header-car.jpg header: header-car.jpg
order: 2
learn: > learn: >
- How BigchainDB can be used to record dynamic parameters of an asset - How BigchainDB can be used to record dynamic parameters of an asset

View File

@ -4,6 +4,7 @@ layout: guide
title: "Tutorial: How to launch your own token on BigchainDB" title: "Tutorial: How to launch your own token on BigchainDB"
tagline: Learn how to use divisible assets in BigchainDB for token distribution events tagline: Learn how to use divisible assets in BigchainDB for token distribution events
header: header-token.jpg header: header-token.jpg
order: 3
learn: > learn: >
- How to use divisible assets on BigchainDB - How to use divisible assets on BigchainDB

View File

@ -7,7 +7,8 @@
</div> </div>
<div class="row"> <div class="row">
{% for guide in site.guides limit: 4 %} {% assign guides = site.guides | sort: 'order' %}
{% for guide in guides limit: 4 %}
<article class="guide"> <article class="guide">
<a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('/guides/{{ guide.header }}')" {% endif %}> <a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('/guides/{{ guide.header }}')" {% endif %}>
<h1 class="guide__title">{{ guide.title }}</h1> <h1 class="guide__title">{{ guide.title }}</h1>

View File

@ -9,7 +9,8 @@ image: share-image-guides.png
<section class="section section--guideslist"> <section class="section section--guideslist">
<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 %} {% assign guides = site.guides | sort: 'order' %}
{% for guide in guides %}
<div class="grid__col"> <div class="grid__col">
<article class="guide"> <article class="guide">
<a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('./{{ guide.header }}')" {% endif %}> <a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('./{{ guide.header }}')" {% endif %}>