style: modified space ->  

This commit is contained in:
XPoet 2021-01-21 20:05:30 +08:00
parent 10b2a0675b
commit 4081dab724
3 changed files with 17 additions and 17 deletions

View File

@ -1,14 +1,14 @@
<div class="article-meta-info">
<span class="article-date article-meta-item">
<i class="fas fa-edit"></i> <%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %>
<i class="fas fa-edit"></i>&nbsp;<%= date(articleObject.date, is_post() ? 'YYYY-MM-DD HH:mm:ss' : 'YYYY-MM-DD') %>
</span>
<% if (articleObject.categories.length) { %>
<span class="article-categories article-meta-item">
<i class="fas fa-folder"></i>
<i class="fas fa-folder"></i>&nbsp;
<ul>
<% articleObject.categories.forEach((category, i) => { %>
<li>
<%= i === 0 ? '' : '> ' %><a href="<%- url_for(category.path) %>"><%= category.name %></a>
<%= i === 0 ? '' : '> ' %><a href="<%- url_for(category.path) %>"><%= category.name %></a>&nbsp;
</li>
<% }); %>
</ul>
@ -16,11 +16,11 @@
<% } %>
<% if (articleObject.tags.length) { %>
<span class="article-tags article-meta-item">
<i class="fas fa-tags"></i>
<i class="fas fa-tags"></i>&nbsp;
<ul>
<% articleObject.tags.forEach((tag, i) => { %>
<li>
<%= i === 0 ? '' : '| ' %><a href="<%- url_for(tag.path) %>"><%= tag.name %></a>
<%= i === 0 ? '' : '| ' %><a href="<%- url_for(tag.path) %>"><%= tag.name %></a>&nbsp;
</li>
<% }); %>
</ul>
@ -39,17 +39,17 @@
%>
<% if(is_post() && theme.post_wordcount.enable && theme.post_wordcount.wordcount && temp_wordcount_count){ %>
<span class="article-wordcount article-meta-item">
<i class="fas fa-file-word"></i> <span><%= temp_wordcount_count %> <%- __('wordcount') %></span>
<i class="fas fa-file-word"></i>&nbsp;<span><%= temp_wordcount_count %> <%- __('wordcount') %></span>
</span>
<% } %>
<% if(is_post() && theme.post_wordcount.enable && theme.post_wordcount.min2read && temp_min2read_count){ %>
<span class="article-min2read article-meta-item">
<i class="fas fa-clock"></i> <span><%= temp_min2read_count %> <%- __('min2read') %></span>
<i class="fas fa-clock"></i>&nbsp;<span><%= temp_min2read_count %> <%- __('min2read') %></span>
</span>
<% } %>
<% if (is_post() && theme.website_count.busuanzi_count.enable && theme.website_count.busuanzi_count.page_pv) { %>
<span class="article-pv article-meta-item">
<i class="fas fa-eye"></i> <span id="busuanzi_value_page_pv"></span>
<i class="fas fa-eye"></i>&nbsp;<span id="busuanzi_value_page_pv"></span>
</span>
<% } %>
</div>

View File

@ -3,27 +3,27 @@
<div class="copyright-info info-item">
&copy;
<% if (theme.footer.since) { %>
<span><%= theme.footer.since %></span> -
<span><%= theme.footer.since %></span>&nbsp;-&nbsp;
<% } %>
<%= date(new Date(), 'YYYY') %> <i class="fas fa-heart icon-animate"></i> <a href="/"><%= theme.base_info.author || config.author %></a>
<%= date(new Date(), 'YYYY') %>&nbsp;<i class="fas fa-heart icon-animate"></i>&nbsp;<a href="/"><%= theme.base_info.author || config.author %></a>
</div>
<% if (theme.website_count.busuanzi_count.enable === true) { %>
<script async <%= theme.pjax.enable === true ? 'data-pjax' : '' %> src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="website-count info-item">
<% if (theme.website_count.busuanzi_count.site_uv) { %>
<span id="busuanzi_container_site_uv">
<%- __('site_uv') %> <span id="busuanzi_value_site_uv"></span>&ensp;
<%- __('site_uv') %>&nbsp;<span id="busuanzi_value_site_uv"></span>&ensp;
</span>
<% } %>
<% if (theme.website_count.busuanzi_count.site_pv) { %>
<span id="busuanzi_container_site_pv">
<%- __('site_pv') %> <span id="busuanzi_value_site_pv"></span>
<%- __('site_pv') %>&nbsp;<span id="busuanzi_value_site_pv"></span>
</span>
<% } %>
</div>
<% } %>
<div class="theme-info info-item">
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %> | <%- __('theme') %> <a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v<%= theme.version %></a>
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %>&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v<%= theme.version %></a>
</div>
</div>
</footer>

View File

@ -2,13 +2,13 @@
<div class="home-article-meta-info">
<span><i class="fas fa-history"></i> <span class="home-article-date" data-date="<%= post.date %>"><%= date(post.date, 'YYYY-MM-DD') %></span></span>
<% if (post.categories.length && theme.home_article.category.enable === true) { %>
<span class="home-article-category"><i class="fas fa-folder"></i>
<span class="home-article-category"><i class="fas fa-folder"></i>&nbsp;
<ul>
<% post.categories.forEach((category, i) => {
if (theme.home_article.category.limit === 0 || i + 1 <= theme.home_article.category.limit) { %>
<li>
<%= i === 0 ? '' : '> ' %>
<a href="<%- url_for(category.path) %>"><%= category.name %></a>
<a href="<%- url_for(category.path) %>"><%= category.name %></a>&nbsp;
</li>
<% } %>
<% }); %>
@ -17,13 +17,13 @@
<% } %>
<% if (post.tags.length && theme.home_article.tag.enable === true) { %>
<span class="home-article-tag">
<i class="fas fa-tags"></i>
<i class="fas fa-tags"></i>&nbsp;
<ul>
<% post.tags.forEach((tag, i) => {
if (theme.home_article.tag.limit === 0 || i + 1 <= theme.home_article.tag.limit) { %>
<li>
<%= i === 0 ? '' : '| ' %>
<a href="<%- url_for(tag.path) %>"><%= tag.name %></a>
<a href="<%- url_for(tag.path) %>"><%= tag.name %></a>&nbsp;
</li>
<% }}); %>
</ul>