Add: 底部版权信息和链接
This commit is contained in:
parent
a85da42fee
commit
ce85ec8203
17
_config.yml
17
_config.yml
|
@ -14,6 +14,23 @@ page:
|
|||
media_max_width: 960
|
||||
|
||||
|
||||
# Social Links.
|
||||
# Usage: `Key: permalink || icon`
|
||||
# Key is the link label showing to end users.
|
||||
# Value before `||` delimeter is the target permalink.
|
||||
# Value after `||` delimeter is the name of FontAwesome icon. If icon (with or without delimeter) is not specified, globe icon will be loaded.
|
||||
social:
|
||||
GitHub: https://github.com/itPoet || github
|
||||
E-Mail: mailto:i@xpoet.cn || envelope
|
||||
# Google: https://plus.google.com/yourname || google
|
||||
#Twitter: https://twitter.com/yourname || twitter
|
||||
#FB Page: https://www.facebook.com/yourname || facebook
|
||||
#VK Group: https://vk.com/yourname || vk
|
||||
#StackOverflow: https://stackoverflow.com/yourname || stack-overflow
|
||||
#YouTube: https://youtube.com/yourname || youtube
|
||||
#Instagram: https://instagram.com/yourname || instagram
|
||||
#Skype: skype:yourname?call|chat || skype
|
||||
|
||||
|
||||
# 代码高亮设置
|
||||
# Code Highlight theme
|
||||
|
|
|
@ -11,6 +11,7 @@ page: Page %d
|
|||
recent_posts: Recent Posts
|
||||
share: Share
|
||||
powered_by: Powered by
|
||||
theme_for: Theme for
|
||||
rss_feed: RSS Feed
|
||||
category: Category
|
||||
tag: Tag
|
||||
|
|
|
@ -11,7 +11,8 @@ archive_b: 归档:%s
|
|||
page: 第 %d 页
|
||||
recent_posts: 最新文章
|
||||
share: 分享
|
||||
powered_by: Powered by
|
||||
powered_by: 由 %s 驱动
|
||||
theme_for: 主题为
|
||||
rss_feed: RSS Feed
|
||||
category: 分类
|
||||
tag: 标签
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<footer class="footer">
|
||||
<div class="info-container">
|
||||
<div class="copyright-info">
|
||||
© <%= date(new Date(), 'YYYY') %> <%= config.author%>
|
||||
© <%= date(new Date(), 'YYYY') %> <a href="https://github.com/XPoet" target="_blank"><%= config.author %></a>
|
||||
</div>
|
||||
<div class="theme-info">
|
||||
<%- __('powered_by') %> <a href="https://hexo.io/" target="_blank">Hexo</a>. <%- __('theme_for') %> <a href="https://github.com/XPoet/hexo-theme-poem" target="_blank">poem</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
|
@ -1,6 +1,6 @@
|
|||
.footer {
|
||||
.copyright-info {
|
||||
padding 5px
|
||||
.info-container {
|
||||
padding-bottom 10px
|
||||
text-align center
|
||||
}
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
@require '../variables.styl'
|
||||
|
||||
$logo-title-font-size = 28px
|
||||
$description-font-size = 16px
|
||||
|
||||
.site-info {
|
||||
|
@ -10,7 +11,7 @@ $description-font-size = 16px
|
|||
padding: 2px;
|
||||
border-radius: 5%;
|
||||
border: 1px solid $border-color;
|
||||
width: 130px;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -19,7 +20,7 @@ $description-font-size = 16px
|
|||
|
||||
a {
|
||||
color: $logo-title-color;
|
||||
font-size: 30px;
|
||||
font-size: $logo-title-font-size;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue