-
-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathpage.html
37 lines (29 loc) · 938 Bytes
/
page.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
---
layout: default
---
<div>
<article role="article">
{% if page.title %}
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
{% endif %}
{% if page.files %}
{% for zip in page.files %}
<a class="tutorial-filelist__heading" name="download-{{zip.zipname}}">Files for {{zip.zipname}}</a>
<ul class="tutorial-filelist__list compact-list">
{% assign pageurl = page.url | split: '/' | pop: | join: '/' %}
{% assign files = zip.files %}
{% for file in files %}
<li class="tutorial-filelist__file"><a href="{{ pageurl }}/{{ file }}">{{ pageurl }}/{{ file }}</a></li>
{% endfor %}
</ul>
{% endfor %}
{% endif %}
{{ content }}
<footer>
<a href='http://tutorials.codebar.io/'>Back to tutorials</a>
<a href='http://codebar.io/'>codebar mainpage</a>
</footer>
</article>
</div>