Open zhangyj131 opened 3 years ago
目前3.0.0-beta4,无法显示归档、标签导航栏
<script>
window.$silence = {
avatar: 'http://images.cnblogs.com/cnblogs_com/esofar/972540/o_avatar.jpg',
favicon: 'https://files.cnblogs.com/files/esofar/favicon.ico',
github: 'https://github.com/esofar',
defaultMode: 'auto',
defaultTheme: 'c',
showNavAdmin: true,
hljsln: false,
navbars: [{
title: '标签',
url: 'https://www.cnblogs.com/esofar/tag/'
}, {
title: '归档',
url: 'https://www.cnblogs.com/esofar/p/'
},{
title: '主题',
target: '_blank',
url: 'https://github.com/esofar/cnblogs-theme-silence/'
} ],
catalog: {
enable: true,
index: true,
active: false,
levels: ['h2', 'h3', 'h4'],
},
signature: {
enable: true,
author: null,
license: ['署名-非商业性使用-相同方式共享 4.0 国际', 'https://creativecommons.org/licenses/by-nc-sa/4.0/'],
},
sponsor: {
enable: true,
text: 'Buy me a cup of coffee ☕.',
paypal: null,
wechat: 'https://images.cnblogs.com/cnblogs_com/esofar/972540/o_wechat.png',
alipay: 'https://images.cnblogs.com/cnblogs_com/esofar/972540/o_alipay.png'
},
};
</script>
<script src="https://cdn.jsdelivr.net/gh/esofar/cnblogs-theme-silence@3.0.0-beta4/dist/silence.min.js"></script>
已解决