博客园皮肤Cnblogs-Theme-Silence

 1.先看效果图

 

2.部署文档

https://www.cnblogs.com/esofar/p/cnblogs-theme-silence.html

3.github地址

https://github.com/esofar/cnblogs-theme-silence

 

4.主要代码

<link rel="stylesheet" type="text/css" href="https://files.cnblogs.com/files/reasonzzy/dark.min.css"/>
<script src="https://files.cnblogs.com/files/reasonzzy/silence.min.js"></script>
<script type="text/javascript">
    $.silence({
        base: {
            avatar: 'https://blog-static.cnblogs.com/files/reasonzzy/qiyuan_avatar.gif',
            favicon: 'https://blog-static.cnblogs.com/files/reasonzzy/logo.gif',
        },
        catalog: {
            enable: true,
            move: true,
            index: true,
            level1: 'h2',
            level2: 'h3',
            level3: 'h4',
        },
        signature: {
            enable: true,
            home: 'http://blog.esofar.cn',
            license: 'CC BY 4.0',
            link: 'https://creativecommons.org/licenses/by/4.0'
        },
        sponsor: {
            enable: true,
            paypal: null,
            wechat: 'https://blog-static.cnblogs.com/files/reasonzzy/reasonzzy_wechat.gif',
            alipay: 'https://blog-static.cnblogs.com/files/reasonzzy/reasonzzy_alipay.gif'
        },
        github: {
            enable: true,
            link: 'https://github.com/Reason0701'
        }
    });
</script>

把上边代码放在博客侧边栏公告框里,确保有JS代码权限

注意:博客园默认主题选择Custom(非常重要!!!)

 

posted @ 2019-09-11 18:34  Reasonzzy  阅读(1170)  评论(2编辑  收藏  举报