评论配置接口获取

This commit is contained in:
结发受长生
2019-08-25 21:27:14 +08:00
parent eb5625c3ae
commit d42e02e75d
6 changed files with 12 additions and 33 deletions
@@ -7,6 +7,7 @@ window.themeConfig = {
isCategory: <%=is_category()%>, // 是否为分类页面
pageid: <%-page.pageid ? `"${page.pageid}"` : 'undefined'%>, // 页面标识, 用于个性化页面开发
toc_hide_index: <%=theme.toc_hide_index%>, // 目录序号
comment: <%=theme.comment%>, // 文章全文页面是否开启评论
animate: <%=theme.animate%>, // 是否显示文章列表页动画效果
root: '<%=config.root%>', // 资源根路径
baseUrl: '<%=config.url%>',
@@ -1,4 +1,3 @@
<% var defaultBg = '#4d4d4d'; %>
<div class="intrude-less">
<header id="header" class="inner">
<a href="<%=config.root%>" @mouseover="linkMouseover('home')" class="profilepic">