# Sidebar Avatar avatar: # Replace the default image and set the url here. url: /images/avatar.jpg # If true, the avatar will be dispalyed in circle. rounded: true # If true, the avatar will be rotated with the cursor. rotated: true
# Uri of fonts host, e.g. https://fonts.googleapis.com (Default). host:
# Font options: # `external: true` will load this font family from `host` above. # `family: Times New Roman`. Without any quotes. # `size: x.x`. Use `em` as unit. Default: 1 (16px)
# Global font settings used for all elements inside <body>. global: external: true family: Ma Shan Zheng size:
# Font settings for site title (.site-title). title: external: true family: ZCOOL KuaiLe size:
# Font settings for headlines (<h1> to <h6>). headings: external: true family: Zhi Mang Xing size:
# Font settings for posts (.post-body). posts: external: true family: Ma Shan Zheng
# Font settings for <code> and code blocks. codes: external: true family: Fira Code
math: # Default (true) will load mathjax / katex script on demand. # That is it only render those page which has `mathjax: true` in Front-matter. # If you set it to false, it will load mathjax / katex srcipt EVERY PAGE. per_page: true
# hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support. mathjax: enable: true # See: https://mhchem.github.io/MathJax-mhchem/ mhchem: true
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin) required for full Katex support. katex: enable: false # See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex copy_tex: false
可以支持 $\LaTeX$ 公式。
站内搜索
在 theme/next/_config.yml 中有一段代码:
1 2 3 4 5 6 7 8 9 10 11
local_search: enable: true # If auto, trigger search by changing input. # If manual, trigger search by pressing enter key or search button. trigger: auto # Show top n results per article, show all results by setting to -1 top_n_per_article: 1 # Unescape html strings to the readable one. unescape: false # Preload the search data when the page loads. preload: false