forked from t413/SinglePaged
-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
executable file
·46 lines (40 loc) · 1.27 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: default
---
<div id="main">
<nav><ul>
{% for node in site.categories.2016 reversed %}
{% capture id %}{{ node.id | remove:'/' | downcase | prepend:'id'}}{% endcapture %}
<li class="p-{{id}}"><a href="#{{id}}">{{node.title}}</a></li>
{% endfor %}
</ul></nav>
{% for page in site.categories.2016 reversed %}
{% capture id %}{{ page.id | remove:'/' | downcase | prepend:'id' }}{% endcapture %}
<div id="{{id}}" class="section p-{{id}}">
{% if page.icon %}
<div class="subtlecircle sectiondivider imaged">
<img src="{{page.icon}}" alt="section icon" />
<h5 class="icon-title">{{ page.title }}</h5>
</div>
{% elsif page.fa-icon %}
<div class="subtlecircle sectiondivider faicon">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-{{ page.fa-icon }} fa-stack-1x"></i>
</span>
<h5 class="icon-title">{{ page.title }}</h5>
</div>
{% endif %}
<div class="container {{ page.style }}">
{{ page.content }}
</div>
</div>
{% endfor %}
<div id="footer" class="section text-white">
<div class="container">
{% capture foottext %} {% include footer.md %} {% endcapture %}
{{ foottext | markdownify }}
</div>
</div>
</div>
{% include analytics.html %}