moegi-design / ghost-theme-Moegi

An elegant & fresh ghost theme.
https://notes.ljl.li
164 stars 26 forks source link

底部默认标签可否在不显示 #5

Closed ghost closed 6 years ago

ghost commented 6 years ago

主题下方的默认显示标签,是否可以在后台的Code injection中配置一个标签关闭的开关?

ddiu8081 commented 6 years ago

@chengsixgoold 好,下个版本会加上footer自定义和tag开关😂

ddiu8081 commented 6 years ago

1.7.1 已经更新了配置项,如果不定义将使用默认值。

<script>
    var show_search = true; //是否开启搜索功能,默认为true
    var show_toc = true; //是否开启文章目录,默认为true
    var show_valine = true; //是否开启评论功能,默认为true
    var show_author = false; //是否开启文章底部作者信息,默认为false
    var show_index_tag = true; //是否开启首页底部标签云,默认为true

    //要开启评论功能需正确填写lc_appId与lc_appKey,并保证show_valine为true
    var lc_appId = '这里填上面获得的appid';
    var lc_appKey = '这里填上面获得的appkey';

    //footer相关
    var footer_text = ''; //自定义footer第二行文字,默认为空
</script>