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> </a>
<div class="trigger"> <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 %} {% if my_page.title %}
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a> <a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
{% endif %} {% endif %}

View File

@ -2,6 +2,7 @@
layout: page layout: page
title: About title: About
permalink: /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. 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 layout: page
title: "Dependencies" title: "Dependencies"
permalink: "/dependencies" permalink: "/dependencies"
order: 10
categories: dependencies categories: dependencies
--- ---

View File

@ -1,6 +1,7 @@
--- ---
layout: page layout: page
title: "Jabit" 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]. 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 layout: page
title: "Quick Start" title: "Quick Start"
permalink: "/quickstart" permalink: "/quickstart"
order: 1
categories: quick start categories: quick start
--- ---