-
-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathpage.html
37 lines (31 loc) · 879 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
34
35
36
37
---
layout: default
---
<div id='notice'>You are welcome to go through our tutorials but please keep in mind that as we rely on community PRs for maintainance they may be out of date.</div>
<div>
<article role="article">
{% if page.title %}
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
{% endif %}
{{ content }}
<footer>
<a href='http://tutorials.codebar.io/'>Back to tutorials</a>
<a href='https://codebar.io/'>codebar mainpage</a>
</footer>
</article>
</div>
{% if page.files %}
{% assign pageurl = page.url | split: '/' | pop | join: '/' %}
{% capture files %}[{% for file in page.files %}
"{{ pageurl }}/{{ file }}"{% if forloop.last %}{% else %},{% endif %}{% endfor %}
]{% endcapture %}
{% endif %}
{% if files %}
<script>
var Files = {
all : {{ files }}
}
</script>
{% endif %}