-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
60 lines (45 loc) · 1.73 KB
/
index.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
---
title: Damian Lau
layout: default
root: true
---
<p>
A software engineer, based in Beijing, where it's currently <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/">中文</a><a href="/" aria-current="true">English</a>
</div>
<hr class="hr">
<h2 class="text">Photos</h2><a href="/photos" class="styled-link">All photos</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">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">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>