-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1category.html
executable file
·59 lines (55 loc) · 1.96 KB
/
1category.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
---
layout: page
title: Content
description: "人生得意须尽欢 | My heart is in the work"
header-img: "img/cmu_gates.jpeg"
permalink: /category/
---
<head>
<script src="https://app.engati.com/static/js/chat_widget.js"></script>
</head>
<body>
<script>EngtChat.init({"bot_key": "f1e1a2c5d1184732", "e":"p", "bot_name":"Bot1","welcome_msg":true});</script>
</body>
<div class="page clearfix">
<div class="right">
<div class="wrap">
<h2 style="font-weight:bold"> Content</h2>
<!-- Content -->
<div class="side-category">
<ul id="content-side" class="content-ul">
{% for category in site.categories%}
<li>
<a class="scroll" href="#{{ category | first }}">
{{ category | first }} ({{ category | last | size }})
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
<div class="left">
<hr>
<ul>
{% for category in site.categories %}
<h2 id="{{category | first}}">{{category | first}}</h2>
{% for posts in category %}
{% for post in posts %}
{% if post.url %}
<li>
<time>
{{ post.date | date:"%F" }} {{ post.date | date: "%a" }}.
</time>
<a class="title" href="{{ post.url }}">{{ post.title }}</a>
{% include category.html %}
{% include tag.html %}
</li>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
<script src="{{ "/js/pageContent.js " | prepend: site.baseurl }}" charset="utf-8"></script>