模板微调
This commit is contained in:
parent
21b68b67af
commit
84e0478a73
@ -114,4 +114,4 @@ friends:
|
|||||||
友情链接5: http://localhost:6603/
|
友情链接5: http://localhost:6603/
|
||||||
友情链接6: http://localhost:6603/
|
友情链接6: http://localhost:6603/
|
||||||
|
|
||||||
aboutme: 很惭愧<br><br>只做了一点微小的工作<br>谢谢大家
|
aboutme: 愿你最终能接纳每一面每一种的自己<br>独自活着便是团圆
|
||||||
@ -62,7 +62,6 @@
|
|||||||
<a class="article-more-a" href="<%- url_for(post.path) %>"><%= __('show_full_text') %> >></a>
|
<a class="article-more-a" href="<%- url_for(post.path) %>"><%= __('show_full_text') %> >></a>
|
||||||
</p>
|
</p>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
<% if (!index && theme.share_jia){ %>
|
<% if (!index && theme.share_jia){ %>
|
||||||
<%- partial('post/share') %>
|
<%- partial('post/share') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<%
|
<%
|
||||||
var title = page.title;
|
var title = page.title;
|
||||||
|
|
||||||
if (is_archive()){
|
if (is_archive()){
|
||||||
title = 'Archives';
|
title = 'Archives';
|
||||||
|
|
||||||
if (is_month()){
|
if (is_month()){
|
||||||
title += ': ' + page.year + '/' + page.month;
|
title += ': ' + page.year + '/' + page.month;
|
||||||
} else if (is_year()){
|
} else if (is_year()){
|
||||||
@ -34,10 +32,9 @@
|
|||||||
<%- css('css/main.css') %>
|
<%- css('css/main.css') %>
|
||||||
<%- css('css/extra.css') %>
|
<%- css('css/extra.css') %>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
<% var defaultCtnBg = 'linear-gradient(200deg,#a0cfe4,#e8c37e)' %>
|
#container.show {
|
||||||
#container.show {
|
background: <%= theme.style && theme.style.slider ? theme.style.slider : 'linear-gradient(200deg,#a0cfe4,#e8c37e)' %>;
|
||||||
background: <%= theme.style && theme.style.slider ? theme.style.slider : defaultCtnBg %>;
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
<%- partial('google-analytics') %>
|
<%- partial('google-analytics') %>
|
||||||
<%- partial('baidu-analytics') %>
|
<%- partial('baidu-analytics') %>
|
||||||
|
|||||||
@ -20,11 +20,11 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="header-smart-menu">
|
<nav class="header-smart-menu">
|
||||||
<% for (let menuName in theme.smart_menu){ %>
|
<% for (let menuName in theme.smart_menu){
|
||||||
<% if(theme.smart_menu[menuName]){ %>
|
if(theme.smart_menu[menuName]){ %>
|
||||||
<a @click="openSlider($event, '<%-menuName%>')" href="javascript:void(0)"><%= __(theme.smart_menu[menuName]) %></a>
|
<a @click="openSlider($event, '<%-menuName%>')" href="javascript:void(0)"><%= __(theme.smart_menu[menuName]) %></a>
|
||||||
<% } %>
|
<% }
|
||||||
<% } %>
|
} %>
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="header-nav">
|
<nav class="header-nav">
|
||||||
<div class="social">
|
<div class="social">
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mid-col" :class="{show:isShow,hide:!isShow}">
|
<div class="mid-col" :class="{show:isShow,hide:!isShow}">
|
||||||
<%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %>
|
<%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %>
|
||||||
<div id="wrapper" class="body-wrap">
|
<div id="wrapper" class="body-wrap" v-pre>
|
||||||
<div class="menu-l">
|
<div class="menu-l">
|
||||||
<div class="canvas-wrap">
|
<div class="canvas-wrap">
|
||||||
<canvas data-colors="#eaeaea" data-sectionHeight="100" data-contentId="js-content" class="anm-canvas"></canvas>
|
<canvas data-colors="#eaeaea" data-sectionHeight="100" data-contentId="js-content" class="anm-canvas"></canvas>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user