Add RSS subscribe & category link.

This commit is contained in:
凡梦星尘 2022-05-06 22:03:44 +08:00
parent f40e994d42
commit a1393183b9
4 changed files with 35 additions and 0 deletions

View File

@ -11,3 +11,20 @@
.back-to-top {
bottom: 30px;
}
.rss-link {
border-top: 1px dotted #ccc;
border-bottom: 1px dotted #ccc;
text-align: center;
margin: 10px 0 0 0;
}
.rss-link a {
display: block;
color: #fc6423;
border-bottom: none;
}
.rss-link a:hover {
font-weight: bold;
}

View File

@ -4,7 +4,11 @@
[SitePostsTitle]
other = "Posts"
[SiteCatesTitle]
other = "Categories"
[SiteTagsTitle]
other = "Tags"
[RSSTitle]
other = "RSS Subscribe"
[CCLinkTitle]
other = "Creative Commons"

View File

@ -4,7 +4,11 @@
[SitePostsTitle]
other = "日志"
[SiteCatesTitle]
other = "分类"
[SiteTagsTitle]
other = "标签"
[RSSTitle]
other = "RSS 订阅"
[CCLinkTitle]
other = "共享知识"

View File

@ -58,11 +58,21 @@
<span class="site-state-item-name">{{ T "SitePostsTitle" }}</span>
</a>
</div>
<div class="site-state-item site-state-categories">
<span class="site-state-item-count">3</span>
<span class="site-state-item-name">{{ T "SiteCatesTitle" }}</span>
</div>
<div class="site-state-item site-state-tags">
<span class="site-state-item-count">3</span>
<span class="site-state-item-name">{{ T "SiteTagsTitle" }}</span>
</div>
</nav>
<div class="rss-link">
<a href="/index.xml" rel="alternate" type="application/rss+xml" target="_blank">
<i class="fa fa-rss"></i>
{{ T "RSSTitle" }}
</a>
</div>
</div>
<div class="links-of-author site-overview-item animated">
<span class="links-of-author-item">