-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpost.html
executable file
·76 lines (46 loc) · 1.3 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
---
layout: default
title: Posts
permalink: /poststest/
date:
---
<div class="post-categories">
{% if post %}
{% assign categories = post.categories %}
{% else %}
{% assign categories = page.categories %}
{% endif %}
{% for category in categories %}
<a href="{{site.baseurl}}/categories/#{{category|slugize}}">{{category}}</a>
{% unless forloop.last %} {% endunless %}
{% endfor %}
</div>
<div class="row">
<!-- Course Sidebar Widgets Column -->
<div class="col-md-4">
<!-- Course categories -->
<div class="well">
<div class="row">
<div class="col-lg-12">
<ul id="nav">
<li><a href="#section-1" class="js-anchor-link">Section 1</a></li>
<li><a href="#section-2" class="js-anchor-link">Section 2</a></li>
<li><a href="#section-3" class="js-anchor-link">Section 3</a></li>
</ul>
</div>
</div>
<!-- /.row -->
</div>
</div>
<!-- Course content Column -->
<div class="col-lg-8" class="my-auto">
{% for post in site.posts %}
{% if post.categories %}
<p><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a> <small class="text-muted">posted:
{{post.date
| date_to_string}} </small>
</p>
{% endif %}
{% endfor %}
</div>
</div>