Theme NexT Canvas Nest

canvas-nest.js for NexT.
Install
Step 1 → Go to Hexo dir
Change dir to Hexo directory. There must be scaffolds, source, themes and other directories:
1 | $ cd hexo |
Step 2 → Create footer.swig
Create a file named footer.swig in hexo/source/_data directory (create _data directory if it does not exist).
Edit this file and add the following content:
1 | <script color="0,0,255" opacity="0.5" zIndex="-1" count="99" src="https://cdn.jsdelivr.net/npm/canvas-nest.js@1/dist/canvas-nest.js"></script> |
You can customize these options.
Step 3 → Set it up
In the NexT _config.yml, uncomment footer under the custom_file_path section.
1 | # Define custom file paths. |