UNPKG

hexo-theme-mengd

Version:
54 lines (38 loc) 1.19 kB
# Hexo-Theme-MengD A clean and lightweight Hexo theme - Preview Site: [https://mengd.js.org](https://mengd.js.org/) - QQ Group: [812028613](https://jq.qq.com/?_wv=1027&k=s3PT4WT2) ## Quick Start npm install ```bash cd hexo npm install hexo-theme-mengd ``` git clone ```bash git clone https://github.com/Lete114/Hexo-Theme-MengD.git ./theme/hexo-theme-mengd ``` Modify the `theme` field in the hexo configuration file `_config.yml` to `hexo-theme-mengd` as follows. ```yml # ... # Extensions ## Plugins: https://hexo.io/plugins/ ## Themes: https://hexo.io/themes/ theme: hexo-theme-mengd # ... ``` Create a theme configuration file named `_config.hexo-theme-mengd.yml` in the hexo root directory (the same level as hexo's `_config.yml` file) and copy the contents of this [link](https://github.com/lete114/hexo-theme-MengD/blob/main/_config.yml) to the `_config.hexo-theme-mengd.yml` file You also need to install two hexo plugins ```bash npm install hexo-generator-search hexo-wordcount ``` ## Update theme npm update ```bash npm install hexo-theme-mengd@latest ``` git clone ```bash cd theme/hexo-theme-mengd git pull ```