-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (97 loc) · 2.75 KB
/
index.html
File metadata and controls
97 lines (97 loc) · 2.75 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
layout: page
title: 首页 | 哆啦A梦
type: index
---
<div class="article warning">
我们是哆啦A梦家族,在这里准备了各种道具,来帮助小伙伴们化解身边的种种困难问题。
<br>
知识源于分享,我们期待你的<a href="https://github.com/doraemon-home/doraemon-home.github.io#我想给周刊投稿">加入^_^</a>
</div>
<div class="page-title">
<a href="/weekly/">周刊...</a>
</div>
{% assign sorted_weekly = site.weekly | reverse %}
{% for weekly in sorted_weekly limit:3 %}
<div class="article">
<div class="article-item">
<div class="article-date">
{{ weekly.date | date: "%Y/%m/%d" }}
</div>
<div class="article-title">
<a href="{{ site.baseurl }}{{ weekly.url }}">
业内技术周刊
</a>
</div>
<div class="article-comment">
<ul>
{% for item in weekly.articles %}
<li><a href="{{ item.link }}" target="_blank">{{ item.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% endfor %}
<div class="page-title">
<a href="/blog/">博客...</a>
</div>
{% for post in site.posts limit:3 %}
<div class="article">
<div class="article-item">
<div class="article-date">
{{ post.date | date: "%Y/%m/%d" }}
</div>
<div class="article-title">
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title}}</a>
</div>
<div class="article-main">
{{ post.excerpt }}
</div>
</div>
</div>
{% endfor %}
<div class="page-title">
<a href="/project/">项目...</a>
</div>
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% for project in site.data.project %}
<div class="article">
<div class="article-item">
<div class="article-star">
<a class="github-button"
href="https://github.com/{{ project.repo }}"
data-icon="octicon-star"
data-count-href="/{{ project.repo }}/stargazers"
data-count-api="/repos/{{ project.repo }}#stargazers_count"
data-count-aria-label="# stargazers on GitHub"
aria-label="Star {{ project.repo }} on GitHub">Star</a>
</div>
<div class="article-title">
<a href="{{ project.link }}">{{ project.name }}</a>
</div>
<div class="article-main">
{{ project.intro }}
</div>
</div>
</div>
{% endfor %}
<div class="page-title">
<a href="/share/">分享...</a>
</div>
{% assign sorted_share = site.data.share | reverse %}
{% for share in sorted_share limit:3 %}
<div class="article">
<div class="article-item">
<div class="article-date">
{{ share.date }}
</div>
<div class="article-title">
<a href="{{ share.link }}" target="_blank">{{ share.title }}</a>
</div>
<div class="article-comment">
分享人: {{ share.person }}
</div>
</div>
</div>
{% endfor %}