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

@ -10,4 +10,21 @@
.back-to-top { .back-to-top {
bottom: 30px; 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] [SitePostsTitle]
other = "Posts" other = "Posts"
[SiteCatesTitle]
other = "Categories"
[SiteTagsTitle] [SiteTagsTitle]
other = "Tags" other = "Tags"
[RSSTitle]
other = "RSS Subscribe"
[CCLinkTitle] [CCLinkTitle]
other = "Creative Commons" other = "Creative Commons"

View File

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

View File

@ -58,11 +58,21 @@
<span class="site-state-item-name">{{ T "SitePostsTitle" }}</span> <span class="site-state-item-name">{{ T "SitePostsTitle" }}</span>
</a> </a>
</div> </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"> <div class="site-state-item site-state-tags">
<span class="site-state-item-count">3</span> <span class="site-state-item-count">3</span>
<span class="site-state-item-name">{{ T "SiteTagsTitle" }}</span> <span class="site-state-item-name">{{ T "SiteTagsTitle" }}</span>
</div> </div>
</nav> </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>
<div class="links-of-author site-overview-item animated"> <div class="links-of-author site-overview-item animated">
<span class="links-of-author-item"> <span class="links-of-author-item">