We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3cd6a commit d85e03aCopy full SHA for d85e03a
index.html
@@ -1,26 +1,4 @@
1
---
2
layout: home
3
+# Index page
4
-<!-- 首页欢迎内容(可选) -->
5
-<section class="welcome">
6
- <h1>欢迎来到我的博客!</h1>
7
- <p>这里是一些简介文字...</p>
8
-</section>
9
-
10
-<!-- 新增文章列表 -->
11
-<section class="post-list">
12
- <h2>📝 最新文章</h2>
13
- <div class="post-items">
14
- {% for post in site.posts %}
15
- <article class="post-card">
16
- <a href="{{ post.url | relative_url }}" class="post-link">
17
- <div class="post-meta">{{ post.date | date: "%Y-%m-%d" }}</div>
18
- <h3 class="post-title">{{ post.title }}</h3>
19
- {% if post.excerpt %}
20
- <p class="post-excerpt">{{ post.excerpt | strip_html | truncate: 100 }}</p>
21
- {% endif %}
22
- </a>
23
- </article>
24
- {% endfor %}
25
- </div>
26
0 commit comments