Ordered pages

This commit is contained in:
Christian Basler 2016-06-26 09:28:04 +02:00
parent 6cd50e054e
commit 277b1bdca7
5 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,8 @@
</a>
<div class="trigger">
{% for my_page in site.pages %}
{% assign sorted_pages = site.pages | sort: 'order' %}
{% for my_page in sorted_pages %}
{% if my_page.title %}
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
{% endif %}

View File

@ -2,6 +2,7 @@
layout: page
title: About
permalink: /about/
order: 100
---
Jabit is a Bitmessage library for Java. It aims to be easy to use, so you can create great Bitmessage apps.

View File

@ -2,6 +2,7 @@
layout: page
title: "Dependencies"
permalink: "/dependencies"
order: 10
categories: dependencies
---

View File

@ -1,6 +1,7 @@
---
layout: page
title: "Jabit"
order: 0
---
Jabit is a Java implementation for the Bitmessage protocol. If you visit this page, I assume you are a Java developer and already know about [Bitmessage][bitmessage].

View File

@ -2,6 +2,7 @@
layout: page
title: "Quick Start"
permalink: "/quickstart"
order: 1
categories: quick start
---