-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.html
50 lines (47 loc) · 1.34 KB
/
project.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
---
layout: default
title: "Project"
description: "「To explore or exploit is a question.」"
header-img: "img/bg-me-2022.jpg"
header-mask: 0.3
multilingual: false
comments: true
---
<!-- Page Header -->
{% include intro-header.html type='page' short=true %}
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<!-- Article List -->
<div class="mini-post-list js-result">
{%- assign _sorted_list = site.posts -%}
{%- assign _sorted_list = _sorted_list | sort: 'date' -%}
{%- assign _sorted_list = _sorted_list | reverse -%}
{%- for _article in _sorted_list -%}
{%- if _article.project -%}
{%- assign _currentdate = _article.date | date: '%Y' -%}
<section>
<span class="fa listing-seperator">
<span class="tag-text">{{ _currentdate }}</span>
</span>
<div class="post-preview item" data-tags="{{ _tags }}">
<a href="{{ _article.url | prepend: site.baseurl }}">
<h2 class="post-title">
{{ _article.title }}
</h2>
{% if _article.subtitle %}
<h3 class="post-subtitle">
{{ _article.subtitle }}
</h3>
{% endif %}
</a>
<hr>
</div>
</section>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>