-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpost.html
88 lines (63 loc) · 2.54 KB
/
post.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
85
86
87
88
---
layout: compress
---
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
{% include head.html %}
<body class="body-{{ page.color }}">
<div class="page-wrapper">
<!-- HEADER -->
<header id="header" class="header">
<div class="container">
{% include branding_blog.html %}
<!-- BREADCRUMB -->
<ol class="breadcrumb">
<li>
<a href="{{ '/' | prepend: site.blogurl }}">Blog</a>
</li>
<li class="active">{{ page.title }}</li>
</ol>
</div>
</header>
<div class="doc-wrapper">
<div class="container">
<!-- DOCUMENT HEADER -->
<div id="doc-header" class="doc-header text-center">
<h1 class="doc-title">
{% include icon.html icon=page.icon %} {{ page.title }}
</h1>
{% if page.date %}
<div class="meta">
<i class="fa fa-calendar"></i> Published: {{ page.date | date: '%B %d, %Y' }}</div>
{% endif %} {% if page.author %}
<div class="author">
<i class="fa fa-user"></i> Author: {{ page.author }}</div>
{% endif %}
</div>
<!-- DOCUMENT BODY -->
<div id="{{ page.id | slugify }}" class="doc-body">
<!-- CONTENT -->
<div class="doc-content">
<div class="content-inner">
{{ content | markdownify }} {% for id in page.sections %} {% assign section = site.doc | where: "id", id | first %}
<div id="{{ section.title | slugify }}" class="doc-section">
<h2 class="section-title">{{ section.title }}</h2>
<div class="section-block">
{{ section.content | markdownify }}
</div>
</div>
{% endfor %}
</div>
</div>
{% include sidebar.html sections=page.sections %}
</div>
</div>
</div>
</div>
{% include footer.html %}
</body>
</html>