⚡ fix: footer & languages
This commit is contained in:
parent
2e211f7609
commit
f21fbe4e2b
@ -13,10 +13,13 @@ recent_posts: letzter Beitrag
|
|||||||
newer: Neuer
|
newer: Neuer
|
||||||
older: Älter
|
older: Älter
|
||||||
share: Teilen
|
share: Teilen
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Kategorie
|
category: Kategorie
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Wortzahl
|
word_count: Wortzahl
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Recent Posts
|
|||||||
newer: Newer
|
newer: Newer
|
||||||
older: Older
|
older: Older
|
||||||
share: Share
|
share: Share
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Category
|
category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Word count
|
word_count: Word count
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Recent Posts
|
|||||||
newer: Newer
|
newer: Newer
|
||||||
older: Older
|
older: Older
|
||||||
share: Share
|
share: Share
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Category
|
category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Word count
|
word_count: Word count
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Posts recientes
|
|||||||
newer: Nuevo
|
newer: Nuevo
|
||||||
older: Viejo
|
older: Viejo
|
||||||
share: Compartir
|
share: Compartir
|
||||||
powered_by: Construido por
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS
|
rss_feed: RSS
|
||||||
category: Categoría
|
category: Categoría
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: El recuento de palabras
|
word_count: El recuento de palabras
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Articles récents
|
|||||||
newer: Récent
|
newer: Récent
|
||||||
older: Ancien
|
older: Ancien
|
||||||
share: Partager
|
share: Partager
|
||||||
powered_by: Propulsé par
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: Flux RSS
|
rss_feed: Flux RSS
|
||||||
category: Catégorie
|
category: Catégorie
|
||||||
tag: Mot-clé
|
tag: Mot-clé
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Nombre de mots
|
word_count: Nombre de mots
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: 最近の投稿
|
|||||||
newer: 次の記事
|
newer: 次の記事
|
||||||
older: 前の記事
|
older: 前の記事
|
||||||
share: 共有
|
share: 共有
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSSフィード
|
rss_feed: RSSフィード
|
||||||
category: カテゴリ
|
category: カテゴリ
|
||||||
tag: タグ
|
tag: タグ
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: 単語数
|
word_count: 単語数
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: 최근 포스트
|
|||||||
newer: 최신
|
newer: 최신
|
||||||
older: 이전
|
older: 이전
|
||||||
share: 공유
|
share: 공유
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: 카테고리
|
category: 카테고리
|
||||||
tag: 태그
|
tag: 태그
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: 단어 수
|
word_count: 단어 수
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Recente berichten
|
|||||||
newer: Nieuwer
|
newer: Nieuwer
|
||||||
older: Ouder
|
older: Ouder
|
||||||
share: Delen
|
share: Delen
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Categorie
|
category: Categorie
|
||||||
tag: Label
|
tag: Label
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Aantal woorden in artikel
|
word_count: Aantal woorden in artikel
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Siste innlegg
|
|||||||
newer: Newer
|
newer: Newer
|
||||||
older: Older
|
older: Older
|
||||||
share: Share
|
share: Share
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Category
|
category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Ordtelling
|
word_count: Ordtelling
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Postagens Recentes
|
|||||||
newer: Mais Recente
|
newer: Mais Recente
|
||||||
older: Mais Antigo
|
older: Mais Antigo
|
||||||
share: Compartilhar
|
share: Compartilhar
|
||||||
powered_by: Desenvolvido por
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: Feed RSS
|
rss_feed: Feed RSS
|
||||||
category: Categoria
|
category: Categoria
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Word count
|
word_count: Word count
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Недавние записи
|
|||||||
newer: Следующий
|
newer: Следующий
|
||||||
older: Предыдущий
|
older: Предыдущий
|
||||||
share: Поделиться
|
share: Поделиться
|
||||||
powered_by: Создано с помощью
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS-каналы
|
rss_feed: RSS-каналы
|
||||||
category: Категория
|
category: Категория
|
||||||
tag: Метка
|
tag: Метка
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Количество слов
|
word_count: Количество слов
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: Bài viết gần đây
|
|||||||
newer: mới hơn
|
newer: mới hơn
|
||||||
older: lớn hơn
|
older: lớn hơn
|
||||||
share: chia sẻ
|
share: chia sẻ
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Thể loại
|
category: Thể loại
|
||||||
tag: thẻ
|
tag: thẻ
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: Đếm từ
|
word_count: Đếm từ
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: 最新文章
|
|||||||
newer: Newer
|
newer: Newer
|
||||||
older: Older
|
older: Older
|
||||||
share: 分享
|
share: 分享
|
||||||
powered_by: Powered by
|
powered_by: 由 %s 强力驱动
|
||||||
|
theme: 主题 - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Category
|
category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: 访问人数
|
||||||
|
page_views: 浏览次数
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: 字数统计
|
word_count: 字数统计
|
||||||
|
@ -13,10 +13,13 @@ recent_posts: 最新文章
|
|||||||
newer: Newer
|
newer: Newer
|
||||||
older: Older
|
older: Older
|
||||||
share: Share
|
share: Share
|
||||||
powered_by: Powered by
|
powered_by: Powered by %s
|
||||||
|
theme: Theme - %s
|
||||||
rss_feed: RSS Feed
|
rss_feed: RSS Feed
|
||||||
category: Category
|
category: Category
|
||||||
tag: Tag
|
tag: Tag
|
||||||
|
site_visitors: Visitors
|
||||||
|
page_views: Views
|
||||||
|
|
||||||
post:
|
post:
|
||||||
word_count: 字數統計
|
word_count: 字數統計
|
||||||
|
@ -1,32 +1,39 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="outer">
|
<div class="outer">
|
||||||
<ul class="list-inline">
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
©
|
Copyrights ©
|
||||||
<% if (theme.since && !isNaN(theme.since) && theme.since < date(new Date(), 'YYYY')) { %><%- theme.since%>-<% } %><%= date(new Date(), 'YYYY') %>
|
<% if (theme.since && !isNaN(theme.since) && theme.since < date(new Date(), 'YYYY')) { %><%- theme.since%>-<% } %><%= date(new Date(), 'YYYY') %>
|
||||||
<%= config.author || config.title %>
|
<i class="ri-heart-fill heart_icon"></i> <%= config.author || config.title %>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<% if (theme.pageFooter){ %>
|
<% if (theme.pageFooter){ %>
|
||||||
Powered by
|
|
||||||
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
|
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
|
||||||
<% var themeLink = '<a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
|
<% var themeLink = '<a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
|
||||||
<%- hexoLink %> Theme <%- themeLink %>
|
<%- __('powered_by', hexoLink) %>
|
||||||
|
<span class="division">|</span>
|
||||||
|
<%- __('theme', themeLink) %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="list-inline">
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<% if (theme.busuanzi && theme.busuanzi.enable){ %>
|
<% if (theme.busuanzi && theme.busuanzi.enable){ %>
|
||||||
<%# "不蒜子统计" %>
|
<%# "不蒜子统计" %>
|
||||||
<%- partial('post/busuanzi') %>
|
<%- partial('post/busuanzi') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</li>
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
<% if (theme.icp&&theme.icp.enable){ %>
|
<% if (theme.icp&&theme.icp.enable){ %>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%= theme.icp.url %>" target="_black"><%= theme.icp.text %></a>
|
<a href="<%= theme.icp.url %>" target="_black"><%= theme.icp.text %></a>
|
||||||
</li>
|
</li>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<!-- cnzz统计 -->
|
<!-- cnzz统计 -->
|
||||||
<% if (theme.cnzz&&theme.cnzz.enable){ %>
|
<% if (theme.cnzz&&theme.cnzz.enable){ %>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<span>
|
<span>
|
||||||
<i>PV:<span id="busuanzi_value_page_pv"></span></i>
|
<span><i class="ri-user-3-fill"></i><%- __('site_visitors') %>:<span id="busuanzi_value_site_uv"></span></s>
|
||||||
<i>UV:<span id="busuanzi_value_site_uv"></span></i>
|
<span class="division">|</span>
|
||||||
|
<span><i class="ri-eye-fill"></i><%- __('page_views') %>:<span id="busuanzi_value_page_pv"></span></span>
|
||||||
</span>
|
</span>
|
@ -1,19 +1,50 @@
|
|||||||
|
@keyframes footerHeartBeat
|
||||||
|
0%
|
||||||
|
transform: scale(1)
|
||||||
|
50%
|
||||||
|
transform: scale(1.2)
|
||||||
|
100%
|
||||||
|
transform: scale(1)
|
||||||
|
|
||||||
.footer
|
.footer
|
||||||
border-top 2px solid #f6f6f6
|
border-top 2px solid #f6f6f6
|
||||||
padding 3rem 0
|
padding 3rem 0
|
||||||
|
font-size 115%
|
||||||
.outer
|
.outer
|
||||||
&>ul
|
&>ul
|
||||||
position relative
|
position relative
|
||||||
display flex
|
display flex
|
||||||
justify-content space-between
|
justify-content center
|
||||||
&:first-child
|
|
||||||
border-bottom border-width solid #f1f1f1
|
|
||||||
|
|
||||||
li
|
li
|
||||||
display inline-block
|
display inline-block
|
||||||
padding .5rem 0
|
padding .3rem 0
|
||||||
a
|
a
|
||||||
text-decoration none
|
text-decoration none
|
||||||
|
.division
|
||||||
|
display inline
|
||||||
|
margin 0 5px
|
||||||
|
i
|
||||||
|
margin 0 2px
|
||||||
|
font-style normal
|
||||||
|
transform translateY(2px)
|
||||||
span
|
span
|
||||||
margin-right 6px
|
margin-right 6px
|
||||||
|
|
||||||
|
.heart_icon
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0 0.4rem;
|
||||||
|
font-size: 1em;
|
||||||
|
color: #f00;
|
||||||
|
-webkit-animation: footerHeartBeat 1.2s infinite;
|
||||||
|
-moz-animation: footerHeartBeat 1.2s infinite;
|
||||||
|
-o-animation: footerHeartBeat 1.2s infinite;
|
||||||
|
-ms-animation: footerHeartBeat 1.2s infinite;
|
||||||
|
animation: footerHeartBeat 1.2s infinite;
|
||||||
|
animation-duration: 1.2s;
|
||||||
|
animation-timing-function: ease;
|
||||||
|
animation-delay: 0s;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
animation-direction: normal;
|
||||||
|
animation-fill-mode: none;
|
||||||
|
animation-play-state: running;
|
||||||
|
animation-name: footerHeartBeat;
|
@ -39,6 +39,7 @@ a.toc-link
|
|||||||
top 0
|
top 0
|
||||||
right 6rem
|
right 6rem
|
||||||
background-color #fff
|
background-color #fff
|
||||||
|
z-index 996
|
||||||
|
|
||||||
// Left line before pseudo element.
|
// Left line before pseudo element.
|
||||||
.toc-link::before
|
.toc-link::before
|
||||||
|
2
source/dist/main.css
vendored
2
source/dist/main.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user