Skip to content

Commit e808731

Browse files
committed
blog: fix config/layout/issues (_layouts/default.html)
1 parent 553b892 commit e808731

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎_layouts/default.html‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<!DOCTYPE html>
2-
<html lang="{{ site.lang | default: "en-US" }}">
2+
<html lang="{{ site.lang | default: "zh-CN" }}">
33
<head>
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77

88
{% seo %}
9-
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
9+
<link rel="icon" href="{{ "/assets/img/MiLogo.jpg" | relative_url }}" type="image/jpeg">
10+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | relative_url }}">
11+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.time | date: "%s" | relative_url }}">
1012
<!--[if lt IE 9]>
1113
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
1214
<![endif]-->
@@ -45,6 +47,13 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
4547

4648
</section>
4749
<footer>
50+
<p>
51+
<a href="{{ "/" | absolute_url }}">首页</a> ·
52+
<a href="{{ "/about/" | relative_url }}">关于</a> ·
53+
<a href="{{ "/tags/" | relative_url }}">标签</a> ·
54+
<a href="{{ "/feed.xml" | relative_url }}">RSS</a>
55+
</p>
56+
<p>&copy; {{ site.time | date: "%Y" }} {{ site.author.name | default: site.title }}. Powered by Jekyll.</p>
4857
{% if site.github.is_project_page %}
4958
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
5059
{% endif %}

0 commit comments

Comments
 (0)