$ git clone https://github.com/wisp-x/hexo-theme-july.git themes/july
Modify theme setting in _config.yml to july
...
theme: july
...
The july theme has a built-in highlight plug-in. In order to avoid conflicts, you need to turn off the highlight of the system.
...
highlight:
enable: false
...
$ hexo new page about
cd themes/july
git pull
# html lang
language: zh-CN
# main menu navigation
menu:
Home: /index.html
Archives: /archives/index.html
About: /about/index.html
site:
# banner: /img/banner.jpg # banner map of website. (please annotation this line if you don't need it)
avatar: https://www.gravatar.com/avatar/7a585313ed855e8d652cbb3154a6056e?s=300&d=mm&r=g # head portrait.
icp: ηICPε€16011445ε· # E-ICP prepared No.
# stylesheets loaded in the <head>
stylesheets:
- /css/markdown.css
- /css/july.css
# scripts loaded in the end of the body
scripts:
- /js/jquery-3.4.1.min.js
- //cdn.bootcss.com/highlight.js/9.13.1/highlight.min.js
- /js/transition.js
- /js/smooth-scroll.min.js
hljs:
enable: true # true to enable the plugin
line_number: false # add line_number in frontend or backend (not recommend, have bugs in special hexo version)
trim_indent: backend # trim the indent of code block to prettify output. backend or front-end (recommend)
copy_code: true # show copy code in caption.
label:
left: Code
right: ':'
copy: Copy Code
# atom: atom.xml # website feed.
MIT