forked from p2pu/course-in-a-box
-
Notifications
You must be signed in to change notification settings - Fork 6
/
course_page.html
36 lines (36 loc) · 970 Bytes
/
course_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
---
layout: base
---
{% assign module=page.categories[1] %}
<div class="container-fluid d-flex flex-grow-1 flex-column">
<div class="row flex-grow-1">
{% include side_toolbar.html %}
<div class="col-xl-6 col-md-9 bg-white">
<div class="content p-md-2">
{{ content }}
{% include next_in_module.html %}
{% if prev or next %}<hr />{% endif %}
<div class="row">
<div class="pagination-section col-sm-6">
{% if prev %}
<div class="title">
Previous submodule:
</div>
<a rel="prev" class="prev" href="{{ site.baseurl }}{{ prev.url }}">
{{ prev.title }} </a>
{% endif %}
</div>
{% if next %}
<div class="pagination-section text-sm-right col-sm-6">
<div class="title">
Next submodule:
</div>
<a rel="next" class="next" href="{{ site.baseurl }}{{ next.url }}"> {{ next.title }}
</a>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>