File tree 8 files changed +9
-5
lines changed
8 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,7 @@ colors:
32
32
purple : ' #c869bf'
33
33
orange : ' #fab125'
34
34
turquoise : ' #0fbfcf'
35
+
36
+ collections :
37
+ - sections
35
38
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ html { box-sizing: border-box; }
15
15
{% endfor %}
16
16
17
17
/* ----- per-post colors! ----- */
18
- {% for node in site.posts %}
18
+ {% for node in site.sections %}
19
19
{% capture id %}{{ node.id | remove : '/' | downcase }}{% endcapture %}
20
20
{% capture bg %}{% if site.colors [node .bg ] %}{{ site.colors [node .bg ] }}{% else %}{{ node.bg }}{% endif %}{% endcapture %}
21
21
{% capture fg %}{% if site.colors [node .color ] %}{{ site.colors [node .color ] }}{% else %}{{ node.color }}{% endif %}{% endcapture %}
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
---
2
- Title: Python
2
+ title: statement
3
3
bg: '#fab125'
4
4
color: black
5
5
---
Original file line number Diff line number Diff line change 1
1
---
2
+ title : timeline
2
3
bg : ' white'
3
4
fa-icon : calendar
4
5
style : center
Original file line number Diff line number Diff line change 1
1
---
2
- Title : Why drop support for Python 2?
2
+ title : why
3
3
color : ' white'
4
4
bg : ' #49a7e9 '
5
5
fa-icon : ' question'
File renamed without changes.
Original file line number Diff line number Diff line change 20
20
< div id ="main ">
21
21
22
22
< nav > < ul >
23
- {% for node in site.posts reversed %}
23
+ {% for node in site.sections %}
24
24
{% capture id %}{{ node.id | remove:'/' | downcase }}{% endcapture %}
25
25
< li class ="p-{{id}} "> < a href ="#{{id}} "> {{node.title}}</ a > </ li >
26
26
{% endfor %}
27
27
</ ul > </ nav >
28
28
29
29
30
- {% for page in site.posts reversed %}
30
+ {% for page in site.sections %}
31
31
{% capture id %}{{ page.id | remove:'/' | downcase }}{% endcapture %}
32
32
< div id ="{{id}} " class ="section p-{{id}} ">
33
33
{% if page.icon %}
You can’t perform that action at this time.
0 commit comments