Ordered pages
This commit is contained in:
		| @@ -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 %} | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								about.md
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								about.md
									
									
									
									
									
								
							| @@ -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. | ||||||
|   | |||||||
| @@ -2,6 +2,7 @@ | |||||||
| layout: page | layout: page | ||||||
| title:  "Dependencies" | title:  "Dependencies" | ||||||
| permalink: "/dependencies" | permalink: "/dependencies" | ||||||
|  | order: 10 | ||||||
| categories: dependencies | categories: dependencies | ||||||
| --- | --- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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]. | ||||||
|   | |||||||
| @@ -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 | ||||||
| --- | --- | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user