-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.html
50 lines (35 loc) · 1.2 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
---
---
{% include header.html %}
<body>
{% include banner.html %}
<div class="main-container">
{% include nav.html %}
{% if page.author %}
{% capture subtitle %}
di {{ page.author }}
{% endcapture %}
{% else %}
{% capture subtitle %}
{{ page.subtitle }}
{% endcapture %}
{% endif %}
{% capture img_abs_src %}
{% include url_prepend.html arg_url=page.img_src arg_prefix=site.data.img.prefix %}
{% endcapture %}
<div class="post-header">
<div class="post-header-text">
<h2 class="first-post-title">{{ page.title }}</h2>
<h3 class="first-post-author">{{ subtitle }}</h3>
<p class="date date-post">{{ page.place }}, {{ page.date | date_to_string }}</p>
</div>
<img src="{{img_abs_src|strip}}" alt="{{ page.img_alt }}" class="post-header-img">
</div>
<div class="post-content">
{{ content }}
</div>
{% include footer.html %}
</div>
<script src="{{site.baseurl}}/assets/js/custom_expand.js"></script>
</body>
</html>