Anime-themed Personal Blog
This is an anime-themed personal blog template designed for deploying personal blog sites. It supports Hexo-style content updates, allowing users to manage and publish blog posts using Markdown files.
Anime Blog Template
A personal blog template specifically designed for anime enthusiasts, built with modern frontend technology stack. It features interactive Live2D character animations and dynamic particle background effects using particles.js, creating an immersive anime-style experience. This project provides anime culture enthusiasts with a beautiful and practical blog solution.
๐ Deploy
You can quickly deploy this template to EdgeOne Pages with just one click:
โจ Features
- ๐จ Anime-style UI with Live2D character animations
- โจ Dynamic particle background effects
- ๐ฑ Responsive design for all devices
- ๐ Markdown-based content management
- ๐ฏ SEO optimized
- ๐ฌ Multiple comment system support
โ ๏ธ Important Notice
This project is intended for private deployment only. For commercial use, please refer to the license terms of:
๐ Quick Start
Requirements
- Node.js >= 16.0.0
- Yarn >= 1.22.0
Installation Steps
- Clone the project
git clone https://github.com/tomcomtang/anime-blog-demo1.git
cd anime-blog-demo1
- Install dependencies
yarn install
- Start development server
yarn dev
- Build for production
yarn build
๐ Content Management
Writing Posts
Create Markdown files in the source/_posts
directory using the following format:
---
title: Post Title
date: 2024-03-21 12:00:00
---
Post content...
Draft Management
- Place unfinished posts in the
source/_drafts
directory - Use
yarn draft
command to preview drafts
โ๏ธ Configuration
Site Configuration
Configure in config/site.yml
:
title: My Anime Blog
subtitle: Sharing Anime Culture
description: A personal blog about anime culture
keywords: anime,ACG,culture
author: Your Name
language: en-US
timezone: UTC
Theme Configuration
Configure in config/theme.yml
:
# Theme color
theme_color: "#FF69B4"
# Navigation menu
menu:
- name: Home
path: /
- name: Archives
path: /archives
- name: About
path: /about
๐ฆ Project Structure
.
โโโ public/ # Build output directory
โโโ source/ # Blog source files
โ โโโ _posts/ # Blog posts
โ โโโ _drafts/ # Draft posts
โ โโโ assets/ # Static assets
โโโ themes/ # Theme files
โโโ config/ # Configuration files
๐ Deployment
Supports multiple deployment methods:
-
GitHub Pages
- Push
public
directory contents togh-pages
branch - Enable GitHub Pages in repository settings
- Push
-
Vercel
- Connect Vercel account
- Select
public
as output directory - Automatic deployment
-
EdgeOne
- Upload static files to EdgeOne
- Configure CDN acceleration
โ FAQ
1. How to modify theme styles?
Theme style files are located in themes/default/assets/css/
directory, you can modify the corresponding CSS files directly.
2. How to add new pages?
Create corresponding Markdown files in the source
directory and add menu items in the menu
configuration in config/theme.yml
.
3. How to add comment system?
Configure Gitalk or Valine comment system parameters in config/theme.yml
.
๐ค Contributing
Pull requests are welcome to improve this project. Before submitting, please ensure:
- Code follows project coding standards
- Add necessary tests
- Update relevant documentation
๐ References
This project is inspired by and uses resources from the following projects:
- hexo-theme-redefine - A beautiful and feature-rich Hexo theme
- Live2D Widget - A web platform Live2D widget
If you like this project, please consider giving a star to these amazing projects that made this possible!