-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (76 loc) · 3.4 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
layout: default
---
{% assign overview = site.categories.overview %}
{% assign relative_path = "./" %}
{% assign page_path = "" %}
{% if page.layout_type == 'subpage' %}
{% assign relative_path = "../" %}
{% assign page_path = "../" %}
{% endif %}
<nav id="subnav">
<ul>
{% for post in overview reversed %}
{% if forloop.first %}
<li><a href="{{ page_path }}#{{ post.url | replace_first:'/','' }}">{{ post.title }}</a></li>
{% endif %}
{% endfor %}
<li><a href="{{ page_path }}#download">Download</a></li>
{% for post in overview reversed %}
{% unless forloop.first %}
<li><a href="{{ page_path }}#{{ post.url | replace_first:'/','' }}">
{% if post.heading %}
{{ post.heading }}
{% else %}
{{ post.title }}
{% endif %}
</a></li>
{% endunless %}
{% endfor %}
</ul>
</nav>
{% for post in overview reversed %}
{% if forloop.first %}
<section class="overview">
<h1><a id="{{ post.url | replace_first:'/','' }}" class="permalink" href="#{{ post.url | replace_first:'/','' }}">⚓</a>{{ post.title }}</h1>
<article class="embedded markdown">
{{ post.content }}
</article>
</section>
{% endif %}
{% endfor %}
{% include aside.liquid %}
<section>
<h1><a id="download" class="permalink" href="#download">⚓</a> Download</h1>
<p>The current version of {{ site.PROJECT_NAME }} is {{ site.GITHUB_CURRENT_VERSION }} you can download it below.</p>
<p class="buttons">
<a class="badge github" href="{{ site.GITHUB_PROJECT_URL }}" title="{{ site.PROJECT_NAME }} on Github"><span>{{ site.PROJECT_NAME }} on Github</span></a>
{% if site.GITHUB_ZIP_URL %}
<a class="button" href="{{ site.GITHUB_ZIP_URL }}">{{ site.PROJECT_NAME }} <span class="version">v{{ site.GITHUB_CURRENT_VERSION }}</span></a>
{% endif %}
</p>
</section>
{% for post in overview reversed %}
{% unless forloop.first %}
<section>
<h1><a id="{{ post.url | replace_first:'/','' }}" class="permalink" href="#{{ post.url | replace_first:'/','' }}">⚓</a>
{% if post.heading %}
{{ post.heading }}
{% else %}
{{ post.title }}
{% endif %}
</h1>
<article class="embedded markdown">
{{ post.content }}
</article>
</section>
{% endunless %}
{% endfor %}
{% for section in site.sections %}
{% if section.path == 'reference' %}
<section>
<h1><a id="reference" class="permalink" href="#reference">⚓</a><a href="{{ relative_path }}{{ section.path }}">{{ section.name }}</a></h1>
<p>{{ site.REFERENCE_LINK_TEXT }} <a href="{{ relative_path }}{{ section.path }}">{{ section.name }}</a></p>
</section>
{% endif %}
{% endfor %}