-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcourse.html
More file actions
28 lines (24 loc) · 1.04 KB
/
course.html
File metadata and controls
28 lines (24 loc) · 1.04 KB
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
---
layout: default
---
<article class="course">
<header class="post-header{% if page.banner_info %} overlay-into-banner{% endif %}">
<h1 class="post-title">{% unless page.banner_info %}<i class="{{ page.icon }}"></i> {% endunless %}{{ page.title | escape }}</h1>
{% if page.subtitle %}<h2 class="post-subtitle">{{ page.subtitle }}</h2>{% endif %}
</header>
{% if page.epigraph %}
<div class="epigraph">{{ page.epigraph | markdownify }}</div>
{% endif %}
<h2 style="text-align:center;"><i class="{{ page.icon }}"></i></h2>
{% if site.show_timestamps %}
<div class="frontmatter">Published: {{ page.date | date: "%b %Y" }}{% if page.last_modified_at > page.date %}<br>Modified: {{ page.last_modified_at | date: "%B %-d, %Y" }}{% endif %}</div>{% endif %}
{% capture toccontent %}
{{ content }}
{% include course_footer.html course=page %}
{% endcapture %}
<h1>Table of Contents</h1>
{% include toc.html id="toc" html=toccontent h_min=2 h_max=3 %}
<div class="post-content">
{{ toccontent }}
</div>
</article>