-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex-zh-CN.html
61 lines (46 loc) · 1.74 KB
/
index-zh-CN.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
---
title: 刘岩
permalink: /zh-CN/
layout: default
root: true
---
<p>
一名软件工程师,目前住在北京,<span class="time" data-timestamp-text="当前时间 {time}。"></span>
</p>
<nav aria-label="Social links">
<a href="/wechat" ref="me">Wechat</a> /
<a href="https://github.com/ssdr" rel="me">GitHub</a> /
<a>ssdrliu at gmail.com</a>
</nav>
<div class="lang">
<a href="/zh-CN/" aria-current="true">中文</a><a href="/">English</a>
</div>
<hr class="hr">
<h2 class="text">照片</h2><a href="/photos" class="styled-link">全部照片</a>
<div class="photos">
{% assign photos = site.static_files | where: "image", true | slice: 0, 5 %}
{% for photo in photos %}
<a href="/photos#P{{ photo.guid}}" class="image-link">
<img src="{{ photo.path }}" height="200" alt="{{ photo.alt }}" loading="lazy" style="aspect-ratio: {{ photo.ratio }};">
</a>
{% endfor %}
</div>
<hr class="hr">
<h2 class="text"><a href="/notes">随笔</a></h2> <a href="/notes.xml" class="styled-link">RSS</a>
{% assign note = site.notes | last %}
<div class="note">
<div class="note-heading">Latest: {{ note.date | date: "%b %d, %Y" }}</div>
{{ note.content | markdownify }}
</div>
<hr class="hr">
<h2 class="text"><a href="/posts">文章</a></h2> <a href="/feed.xml" class="styled-link">RSS</a>
<ul aria-label="posts" class="terminal">
{% assign post = site.posts[0] %}
<li class="line"><a href="{{ post.url }}">{{ post.title }}</a><br>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %e, %Y" }}</time>
</li>
{% assign post = site.posts[1] %}
<li class="line"><a href="{{ post.url }}">{{ post.title }}</a><br>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %e, %Y" }}</time>
</li>
</ul>