[!NOTE] This project is no longer actively maintained. If you are interested in this theme, it is recommended to use the new Astro version.
本项目已不再活跃维护,若对本主题感兴趣,建议使用新的 Astro 版本
[!NOTE] All the following commands should be executed in the root directory of your Hexo blog
Via npm (Recommended)
npm install hexo-theme-vivia
Via Git
# Clone the theme into the /themes/vivia directory
git clone https://github.com/saicaca/hexo-theme-vivia.git themes/vivia
# Install the required dependencies
npm install colorjs.io stylus hexo-symbols-count-time
Copy the example configuration file to your Hexo blog's root directory:
node_modules/hexo-theme-vivia/example_config.vivia.yml
.themes/vivia/example_config.vivia.yml
.After copying, rename this file to _config.vivia.yml
.
Edit _config.vivia.yml
and make any desired customizations.
vivia
as the Themehexo config theme vivia
about
Pagehexo new page about
Edit _config.yml
and add the following lines:
archive_generator:
per_page: 0
Without this configuration, the archive page will only show up to ten articles at most.