/
posts.html
42 lines (39 loc) · 1.54 KB
/
posts.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
---
layout: default
title: Blogs
---
<hr class="hr">
<h2 class="text">Nginx</h2>
<ul aria-label="posts" class="terminal">
{% for post in site.posts %}
{% if post.category == 'Nginx' and post.title == 'Nginx文档【持续更新】' %}
<li id="date-{{ post.date | date: "%Y-%m-%d" }}{{ post.slug }}">
<time class="small">{{ post.date | date: "%b %d, %Y" }}</time> <a href="{{ post.url }}" class="small">{{post.title}}</a>
</li>
{% endif %}
{% endfor %}
{% for post in site.posts %}
{% if post.category == 'Nginx' and post.title != 'Nginx文档【持续更新】' %}
<li id="date-{{ post.date | date: "%Y-%m-%d" }}{{ post.slug }}">
<time class="small">{{ post.date | date: "%b %d, %Y" }}</time> <a href="{{ post.url }}" class="small">{{post.title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
<hr class="hr">
<h2 class="text">LuaJIT</h2>
<ul aria-label="posts" class="terminal">
<a href="/luajit-wiki/Home" class="small">wiki</a>
</ul>
<hr class="hr">
<h2 class="text">Blogs</h2>
<ul aria-label="posts" class="terminal">
{% for post in site.posts %}
{% assign cgrs = post.category %}
{% if cgrs != 'Nginx文档' and cgrs != 'Nginx' and cgrs != 'manual' and cgrs != 'leetcode' %}
<li id="date-{{ post.date | date: "%Y-%m-%d" }}{{ post.slug }}">
<time class="small">{{ post.date | date: "%b %d, %Y" }}</time> <a href="{{ post.url }}" class="small">{{post.title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>