guides -> guide
@ -51,7 +51,7 @@
|
|||||||
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals>
|
||||||
</Condition>
|
</Condition>
|
||||||
<Redirect>
|
<Redirect>
|
||||||
<ReplaceKeyPrefixWith>developers/guides/</ReplaceKeyPrefixWith>
|
<ReplaceKeyPrefixWith>developers/guide/</ReplaceKeyPrefixWith>
|
||||||
<HttpRedirectCode>301</HttpRedirectCode>
|
<HttpRedirectCode>301</HttpRedirectCode>
|
||||||
</Redirect>
|
</Redirect>
|
||||||
</RoutingRule>
|
</RoutingRule>
|
||||||
|
@ -90,18 +90,18 @@ collections:
|
|||||||
partners:
|
partners:
|
||||||
output: true
|
output: true
|
||||||
permalink: /:collection/:path/
|
permalink: /:collection/:path/
|
||||||
guides:
|
guide:
|
||||||
output: true
|
output: true
|
||||||
permalink: /developers/:collection/:path/
|
permalink: /developers/:collection/:path/
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
- scope:
|
- scope:
|
||||||
path: ""
|
path: ""
|
||||||
type: guides
|
type: guide
|
||||||
values:
|
values:
|
||||||
toc: true
|
toc: true
|
||||||
image: share-image-guides.png
|
image: share-image-guide.png
|
||||||
js: page-guides.min.js
|
js: page-guide.min.js
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
# --------------------
|
# --------------------
|
||||||
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
@ -64,4 +64,4 @@
|
|||||||
@import 'page-services';
|
@import 'page-services';
|
||||||
@import 'page-faq';
|
@import 'page-faq';
|
||||||
@import 'oceanprotocol';
|
@import 'oceanprotocol';
|
||||||
@import 'page-guides';
|
@import 'page-guide';
|
||||||
|
@ -8,7 +8,7 @@ main:
|
|||||||
- title: Get Started
|
- title: Get Started
|
||||||
url: /developers/getstarted/
|
url: /developers/getstarted/
|
||||||
- title: Guide
|
- title: Guide
|
||||||
url: /developers/guides/
|
url: /developers/guide/
|
||||||
- title: Docs
|
- title: Docs
|
||||||
url: https://docs.bigchaindb.com/
|
url: https://docs.bigchaindb.com/
|
||||||
- title: Services
|
- title: Services
|
||||||
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 278 KiB |
Before Width: | Height: | Size: 610 KiB After Width: | Height: | Size: 610 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
@ -1,9 +1,9 @@
|
|||||||
<header role="banner" class="header header--{{ page.url | replace: '/','' }} header--{{ page.layout }}"
|
<header role="banner" class="header header--{{ page.url | replace: '/','' }} header--{{ page.layout }}"
|
||||||
{% if page.header %}
|
{% if page.header %}
|
||||||
{% if page.path contains '_guides' %}
|
{% if page.path contains '_guide' %}
|
||||||
style="background-image:url('../{{ page.header }}')"
|
style="background-image:url('../{{ page.header }}');"
|
||||||
{% else %}
|
{% else %}
|
||||||
style="background-image:url('/assets/img/{{ page.header }}')"
|
style="background-image:url('/assets/img/{{ page.header }}');"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}>
|
{% endif %}>
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
<div class="row row--wide">
|
<div class="row row--wide">
|
||||||
<div class="grid grid--full grid-small--half grid--gutters--small">
|
<div class="grid grid--full grid-small--half grid--gutters--small">
|
||||||
{% assign guides = site.guides | sort: 'order' %}
|
{% assign guide = site.guide | sort: 'order' %}
|
||||||
{% for guide in guides limit: 4 %}
|
{% for chapter in guide limit: 4 %}
|
||||||
<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('/developers/guides/{{ guide.header }}')" {% endif %}>
|
<a href="{{ chapter.url }}" {% if chapter.header %}style="background-image:url('/developers/guide/{{ chapter.header }}')" {% endif %}>
|
||||||
<h1 class="guide__title">{{ guide.title }}</h1>
|
<h1 class="guide__title">{{ chapter.title }}</h1>
|
||||||
<p class="guide__tagline">{{ guide.tagline }}</p>
|
<p class="guide__tagline">{{ chapter.tagline }}</p>
|
||||||
</a>
|
</a>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
@ -23,6 +23,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<a class="btn btn-secondary" href="{% link developers/guides.html %}">All chapters</a>
|
<a class="btn btn-secondary" href="{% link developers/guide.html %}">All chapters</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
@ -24,17 +24,17 @@ layout: base
|
|||||||
<section class="section section--guides-more">
|
<section class="section section--guides-more">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<header class="section-header">
|
<header class="section-header">
|
||||||
<h1 class="section-title">More guides</h1>
|
<h1 class="section-title">More chapters</h1>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
<div class="row row--wide">
|
<div class="row row--wide">
|
||||||
<div class="grid grid--full grid-small--half grid-medium--third grid--gutters--small">
|
<div class="grid grid--full grid-small--half grid-medium--third grid--gutters--small">
|
||||||
{% for guide in site.guides limit: 6 %}
|
{% for chapter in site.guide limit: 6 %}
|
||||||
{% unless page.id == guide.id %}
|
{% unless page.id == chapter.id %}
|
||||||
<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="{{ chapter.url }}" {% if chapter.header %}style="background-image:url('../{{ chapter.header }}')"{% endif %}>
|
||||||
<h1 class="guide__title">{{ guide.title }}</h1>
|
<h1 class="guide__title">{{ chapter.title }}</h1>
|
||||||
</a>
|
</a>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
@ -43,7 +43,7 @@ layout: base
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<a class="btn btn-primary" href="/guides/">All guides</a>
|
<a class="btn btn-primary" href="{% link developers/guide.html %}">All guides</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -285,10 +285,10 @@ conn.postTransactionSync(txSigned)
|
|||||||
<div class="grid grid--full grid-small--fit grid--gutters">
|
<div class="grid grid--full grid-small--fit grid--gutters">
|
||||||
|
|
||||||
<div class="grid__col">
|
<div class="grid__col">
|
||||||
<h2 class="docs__title">Guides</h2>
|
<h2 class="docs__title">Hitchhiker's Guide</h2>
|
||||||
<ul class="docs__list">
|
<ul class="docs__list">
|
||||||
{% for guide in site.guides limit: 8 %}
|
{% for chapter in site.guide limit: 8 %}
|
||||||
<li><a href="{{ guide.url }}">{{ guide.title }}</a></li>
|
<li><a href="{{ chapter.url }}">{{ chapter.title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -310,7 +310,7 @@ conn.postTransactionSync(txSigned)
|
|||||||
</div>
|
</div>
|
||||||
<div class="row row--wide text-center">
|
<div class="row row--wide text-center">
|
||||||
<div class="docs__actions">
|
<div class="docs__actions">
|
||||||
<a class="btn btn-primary" href="{% link developers/guides.html %}">{{ content.docs.button_guides }}</a>
|
<a class="btn btn-primary" href="{% link developers/guide.html %}">{{ content.docs.button_guides }}</a>
|
||||||
<a class="btn btn-secondary" href="https://docs.bigchaindb.com">{{ content.docs.button_documentation }}</a>
|
<a class="btn btn-secondary" href="https://docs.bigchaindb.com">{{ content.docs.button_documentation }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
23
_src/developers/guide.html
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
|
||||||
|
title: "The Hitchhiker's Guide to BigchainDB"
|
||||||
|
tagline: "This guide explains how to get started and build apps with BigchainDB"
|
||||||
|
image: share-image-guide.png
|
||||||
|
---
|
||||||
|
|
||||||
|
<section class="section section--guideslist">
|
||||||
|
<div class="row">
|
||||||
|
{% assign guide = site.guide | sort: 'order' %}
|
||||||
|
{% for chapter in guide %}
|
||||||
|
<article class="guide">
|
||||||
|
<a href="{{ chapter.url }}" {% if chapter.header %}style="background-image:url('./{{ chapter.header }}')" {% endif %}>
|
||||||
|
<h1 class="guide__title">{{ chapter.title }}</h1>
|
||||||
|
<p class="guide__tagline">{{ chapter.tagline }}</p>
|
||||||
|
</a>
|
||||||
|
</article>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
{% include sections/section-getstarted.html %}
|
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
layout: page
|
|
||||||
|
|
||||||
title: "The Hitchhiker's Guide to BigchainDB"
|
|
||||||
tagline: "This guide explains how to get started and build apps with BigchainDB"
|
|
||||||
image: share-image-guides.png
|
|
||||||
|
|
||||||
redirect_from:
|
|
||||||
- /guides/
|
|
||||||
---
|
|
||||||
|
|
||||||
<section class="section section--guideslist">
|
|
||||||
<div class="row">
|
|
||||||
{% assign guides = site.guides | sort: 'order' %}
|
|
||||||
{% for guide in guides %}
|
|
||||||
<article class="guide">
|
|
||||||
<a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('./{{ guide.header }}')" {% endif %}>
|
|
||||||
<h1 class="guide__title">{{ guide.title }}</h1>
|
|
||||||
<p class="guide__tagline">{{ guide.tagline }}</p>
|
|
||||||
</a>
|
|
||||||
</article>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
{% include sections/section-getstarted.html %}
|
|
@ -61,7 +61,7 @@ intro:
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{% include sections/section-guides.html %}
|
{% include sections/section-guide.html %}
|
||||||
|
|
||||||
{% include sections/section-partners.html %}
|
{% include sections/section-partners.html %}
|
||||||
|
|
||||||
|