File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ TEMPLATE_DIR=${ROOT_DIRECTORY}/static/templates
6
6
TEMPLATE_FILES =$(wildcard ${TEMPLATE_DIR}/* )
7
7
TEMPLATES =$(basename $(notdir ${TEMPLATE_FILES}) )
8
8
9
+ .PHONY : all
9
10
all :
10
11
$(info select a target)
11
12
$(info ${TEMPLATES})
17
18
$(TEMPLATES ) :
18
19
$(error you need to specify NAME=<name> to run this target)
19
20
endif
21
+
22
+ .PHONY : serve
23
+ serve :
24
+ jekyll --pygments --no-lsi --safe --server
Original file line number Diff line number Diff line change 14
14
< li class ="dropdown ">
15
15
< a class ="dropdown-toggle " data-toggle ="dropdown "> Tutorials < b class ="caret "> </ b > </ a >
16
16
< ul class ="dropdown-menu ">
17
- {% for page in site.pages %}
17
+ {% for page in site.pages | sort %}
18
18
{% if page.categories contains 'tutorial' %}
19
19
< li > < a href ="{{ page.url }} "> {{ page.title }}</ a > </ li >
20
20
{% endif %}
You can’t perform that action at this time.
0 commit comments