-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy patharchives.html
More file actions
50 lines (48 loc) · 2.72 KB
/
Copy patharchives.html
File metadata and controls
50 lines (48 loc) · 2.72 KB
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: Archives
description: 孙铭鸿 的文章归档。在这里你可以找到 孙铭鸿.Me 上的所有文章列表。在这里,不仅仅是用来快速记录工作,学习,生活的一点一滴的地方,更是 孙铭鸿 对 Jekyll 的学习和使用的一次有意义的实践。
keywords: 孙铭鸿, GitHub, Archives, mac, css, html, javascript, violet, Jekyll, plugins, wordpress
isArchive: true
---
<section class="content fn-clear">
<div class="content-cnt">
<div class="ui-grid-25 ui-grid-right content-top">
<div class="ui-grid-23 violet-post">
<div class="v-section-tit">
<h4>All posts is here. <span>({{ site.posts | size }} posts.)</span><input id="J_search" class="violet-input" placeholder="Simple Search"/></h4>
</div>
<div class="violet-post-det fn-clear">
<section class="ui-grid-20 violet-post v-post-detail">
{% capture post_year1 %}{{ 'now' | date: '%Y' }}{% endcapture %}
<div class="violet-archive fn-clear">
<p class="ui-grid-2 year">{{ post_year1 }}</p>
<div class="ui-grid-18 ui-grid-right ui-grid-bottom">
{% for post in site.posts %}
{% capture post_year2 %}{{ post.date | date: '%Y' }}{% endcapture %}
{% if post_year1 != post_year2 %}
{% assign post_year1 = post_year2 %}
</div>
</div><!-- //violet-archive -->
<div class="violet-archive fn-clear">
<p class="ui-grid-2 year">{{ post_year1 }}</p>
<div class="ui-grid-18 ui-grid-right ui-grid-bottom">
{% endif %}
<article class="article fn-clear">
<div class="ui-grid-6 v-archive-tit">
<p class="v-date"><span>‣</span><time pubdate="{{ post.date | date: '%b %d, %Y' }}">{{ post.date | date: '%b %d' }}</time></p>
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
</div>
<div class="ui-grid-12 v-archive-det">
<p>{{ post.description }}</p>
</div>
</article><!-- //archive -->
{% endfor %}
</div>
</div><!-- //violet-archive -->
</section><!-- //violet-post -->
</div>
</div>
</div>
</div>
</section><!-- //content -->