blog-hexo/themes/hexo-theme-cosy/_config.yml

51 lines
3.0 KiB
YAML
Raw Normal View History

2023-10-19 21:55:22 +08:00
# support svg or image url, such as /img/favicon.png
2023-10-20 09:30:33 +08:00
favicon: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 7h1a2 2 0 0 1 2 2v.5a.5.5 0 0 0 .5.5a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5a.5.5 0 0 0-.5.5v.5a2 2 0 0 1-2 2h-2"></path><path d="M8 7H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h1"></path><path d="M12 8l-2 4h3l-2 4"></path></g></svg>
2023-10-19 21:55:22 +08:00
# required = false
2023-10-20 09:30:33 +08:00
icp: 苏ICP备19008833号-4
2023-10-19 21:55:22 +08:00
motto: true
# Copyright statement at the bottom of the post
postCopyright:
enable: true
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
# post classification icon mapping
postCategoryIcons:
2023-10-23 21:06:24 +08:00
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5.636 5.636a9 9 0 0 1 13.397.747L13.414 12l5.619 5.617A9 9 0 1 1 5.636 5.636z"></path><circle cx="11.5" cy="7.5" r="1" fill="currentColor"></circle></g></svg>
2023-10-20 10:28:01 +08:00
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 17v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1"></path><path d="M8 16h8"></path><path d="M8.322 12.582l7.956.836"></path><path d="M8.787 9.168l7.826 1.664"></path><path d="M10.096 5.764l7.608 2.472"></path></g></svg>
2023-11-06 13:28:00 +08:00
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"></circle><path d="M14.8 9A2 2 0 0 0 13 8h-2a2 2 0 0 0 0 4h2a2 2 0 0 1 0 4h-2a2 2 0 0 1-1.8-1"></path><path d="M12 6v2m0 8v2"></path></g></svg>
2023-10-20 10:28:01 +08:00
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 4l-2 14.5l-6 2l-6-2L4 4z"></path><path d="M7.5 8h3v8l-2-1"></path><path d="M16.5 8H14a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h1.423a.5.5 0 0 1 .495.57L15.5 15.5l-2 .5"></path></g></svg>
2023-10-23 21:06:24 +08:00
2023-10-19 21:55:22 +08:00
# katex
katex:
enable: true
jsCdn: //cdn.jsdelivr.net/npm/katex@0.13.18/dist/katex.min.js
cssCdn: //cdn.jsdelivr.net/npm/katex@0.13.18/dist/katex.min.css
# mermaid
mermaid:
enable: true
cdn: //cdn.jsdelivr.net/npm/mermaid@10.4.0/dist/mermaid.min.js
# post comments
valine:
2023-11-06 15:04:45 +08:00
enable: false
2023-10-19 21:55:22 +08:00
appId: TisMit6uhflounFqAN3ZGjgq-MdYXbMMI
appKey: CdjirjYdz07U5i62ElsJvXUh
avatar: monsterid
cdn: //unpkg.com/valine@latest/dist/Valine.min.js
2023-10-20 09:58:13 +08:00
serverURLs: //tismit6u.api.lncldglobal.com
2023-10-19 21:55:22 +08:00
# qweather for index weather widget, u must register api first
# api register: https://id.qweather.com/#/register
weather:
enable: true
cityCode: 101190101
appKey: 6f89c60ce1714fa58018b5489aa697e5
2023-11-03 14:52:16 +08:00
search:
enable: true