File tree Expand file tree Collapse file tree 7 files changed +23
-15
lines changed Expand file tree Collapse file tree 7 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 9
9
include all default and the reference
10
10
exclude the root path
11
11
-->
12
- {% for item in site.pages %}{% if item.layout != 'entry' %}{%if item.layout == 'default' or item.layout == 'reference' %}{% if item.url != '/' %}
12
+ {% assign pages = site.pages | sort: 'order' %}
13
+ {% for item in pages %}{% if item.layout != 'entry' %}{%if item.layout == 'default' or item.layout == 'reference' %}{% if item.url != '/' %}
13
14
< li class ="menu-item {% if item.title == page.title %}active{% endif %} "> < a href ="{{item.url}} "> {{item.title}}</ a > </ li >
14
15
{% endif %}{% endif %}{% endif %}{% endfor %}
15
16
16
17
</ ul >
17
- < div class =" tweet " >
18
- </ div >
19
- < div class =" fhnw-logo " >
20
- < a href =" http://www. fhnw.ch/hgk/ivk " > < img src =" assets/images/fhnwlogo.png " alt =" FHNW logo and link " > </ a >
21
- </ div >
22
- </ nav >
18
+ </ nav >
19
+ < div class =" tweet " >
20
+ </ div >
21
+ < div class =" fhnw- logo " >
22
+ < a href =" http://www.fhnw.ch/hgk/ivk " > < img src =" /assets/images/fhnwlogo.png " alt =" FHNW logo and link " > </ a >
23
+ </ div >
23
24
</ aside >
Original file line number Diff line number Diff line change 2
2
author : admin
3
3
layout : default
4
4
originallink : http://basiljs.ch/about/
5
- title : About
5
+ title : about
6
+ order : 0
6
7
---
7
8
8
9
![ ] ( http://basiljs.ch/wp-content/uploads/2013/01/aboutpage.jpg )
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ comments: false
4
4
date : 2012-11-13 23:35:22+00:00
5
5
layout : default
6
6
originallink : http://basiljs.ch/download/
7
- title : Download
7
+ title : download
8
+ order : 1
8
9
---
9
10
10
11
## Download basil.js
Original file line number Diff line number Diff line change 2
2
author : admin
3
3
layout : default
4
4
originallink : http://basiljs.ch/gallery/
5
- title : Gallery
5
+ title : gallery
6
+ order : 6
6
7
---
7
8
8
9
{% for page in site.pages %}
Original file line number Diff line number Diff line change 1
1
---
2
2
author: admin
3
3
layout: reference
4
- title: Reference
4
+ title: reference
5
+ order: 3
5
6
---
6
7
7
8
< div class ="index ">
@@ -45,5 +46,5 @@ <h3 id="{{id}}">{{item.cat}}</h3>
45
46
< div class ="totop-shadow "> < a href ="# "> ☝︎ back to index</ a >
46
47
</ div >
47
48
< script type ="text/javascript ">
48
- var searchindex = { { site . data . categories | jsonify} } ;
49
+ var searchindex = { { site . data . categories | jsonify } } ;
49
50
</ script >
Original file line number Diff line number Diff line change 2
2
author : admin
3
3
layout : default
4
4
originallink : http://basiljs.ch/support/
5
- title : Support
5
+ title : support
6
+ order : 5
6
7
---
7
8
8
9
## Check the reference and provided material
Original file line number Diff line number Diff line change 2
2
author: admin
3
3
layout: default
4
4
originallink: http://basiljs.ch/tutorials/
5
- title: Tutorials
5
+ title: tutorials
6
+ order: 4
6
7
---
7
8
8
9
< ul >
9
- {% for page in site.pages %}
10
+ {% assign tutos = site.pages | sort : 'url' %}
11
+ {% for page in tutos %}
10
12
{% if page.layout == 'tutorial' %}
11
13
{% if page.title != 'example tutorial page'%}
12
14
< li > < a href ="{{page.url}} "> {{page.title}}</ a > </ li >
You can’t perform that action at this time.
0 commit comments