Merge pull request #151 from aoaostar/dev
新增底部统计代码 (#2) 新增首屏文字接入一言 (#103)
This commit is contained in:
commit
e31c4580c9
|
@ -40,6 +40,7 @@ style:
|
||||||
enable: false
|
enable: false
|
||||||
background_img: /images/bg.svg # You can use local image or image external link
|
background_img: /images/bg.svg # You can use local image or image external link
|
||||||
description: Keep writing and Keep loving.
|
description: Keep writing and Keep loving.
|
||||||
|
hitokoto: # Hitokoto api. https://v1.hitokoto.cn/?encode=js
|
||||||
|
|
||||||
# Scroll style settings
|
# Scroll style settings
|
||||||
scroll:
|
scroll:
|
||||||
|
@ -217,6 +218,7 @@ footer:
|
||||||
since: 2020 # the starting year of your website, Can be null
|
since: 2020 # the starting year of your website, Can be null
|
||||||
icp: # ICP record number of your website, Can be null
|
icp: # ICP record number of your website, Can be null
|
||||||
upyun: # url
|
upyun: # url
|
||||||
|
code: # Statistical codes of your website, Can be null
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------
|
||||||
# Keep version (Please don't modify)
|
# Keep version (Please don't modify)
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
<div class="first-screen-container flex-center fade-in-down-animation">
|
<div class="first-screen-container flex-center fade-in-down-animation">
|
||||||
<div class="content flex-center">
|
<div class="content flex-center">
|
||||||
<div class="description">
|
<div class="description hitokoto">
|
||||||
<%= theme.style.first_screen.description || config.description %>
|
<%= theme.style.first_screen.description || config.description %>
|
||||||
</div>
|
</div>
|
||||||
|
<% if (theme.style.first_screen.hitokoto) { %>
|
||||||
|
<script data-pjax="" src="<%- theme.style.first_screen.hitokoto %>"></script>
|
||||||
|
<% } %>
|
||||||
<% if (theme.social_contact.enable) { %>
|
<% if (theme.social_contact.enable) { %>
|
||||||
<div class="s-icon-list">
|
<div class="s-icon-list">
|
||||||
<% for (const key in theme.social_contact.links) { %>
|
<% for (const key in theme.social_contact.links) { %>
|
||||||
|
|
|
@ -34,5 +34,10 @@
|
||||||
<img src="/images/upyun.png" alt="upyun" srcset="" height="24" style="position:relative; top:6px">
|
<img src="/images/upyun.png" alt="upyun" srcset="" height="24" style="position:relative; top:6px">
|
||||||
提供CDN加速/云存储服务</a></div>
|
提供CDN加速/云存储服务</a></div>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
<% if (theme.footer.hasOwnProperty('code') && theme.footer.code) { %>
|
||||||
|
<div class="code-info info-item">
|
||||||
|
<%- theme.footer.code %>
|
||||||
|
</div>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -210,6 +210,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
& {
|
||||||
|
table-layout: fixed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
td,
|
td,
|
||||||
th {
|
th {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -329,7 +329,7 @@ KEEP.initUtils = () => {
|
||||||
}, 200);
|
}, 200);
|
||||||
|
|
||||||
}, 200);
|
}, 200);
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// init scroll
|
// init scroll
|
||||||
|
|
Loading…
Reference in New Issue