0%

hexo-博客搭建之canvas-nest背景特效

直到我搭建博客,才知道这炫酷的背景特效有个名字叫:canvas-nest

1
<script type="text/javascript" color="0,0,0" opacity='0.5' zIndex="-1" count="99" src="//cdn.bootcss.com/canvas-nest.js/1.0.1/canvas-nest.min.js"></script>
2. 编辑 主题配置文件:_config.next.yml,配置 footer
1
2
3
4
5
6
7
8
9
10
11
12
13
# Define custom file paths.
# Create your custom files in site directory `source/_data` and uncomment needed files below.
custom_file_path:
#head: source/_data/head.swig
#header: source/_data/header.swig
#sidebar: source/_data/sidebar.swig
#postMeta: source/_data/post-meta.swig
#postBodyEnd: source/_data/post-body-end.swig
footer: source/_data/footer.swig
#bodyEnd: source/_data/body-end.swig
#variable: source/_data/variables.styl
#mixin: source/_data/mixins.styl
#style: source/_data/styles.styl
3. over…

后记:

这玩意儿除了好玩儿、新鲜,也没啥了…

真是生命不息,折腾不止啊。嗯,为了做公益(省电环保),最终我还是给禁了…

直接在配置文件干掉:#footer: source/_data/footer.swig