Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
Hexo博客搭建美化配置
【Hexo博客系列】No.2 美化Hexo博客,教你如何安装和美化Hexo博客 - 使用安知鱼主题进行个性化配置,涵盖安装、设置、标签页生成及本地搜索本文演示使用基于hexo-theme-butterfly修改的安知鱼主题(简洁、美丽的静态Hexo主题),完成Hexo博客的美化配置,包含主题安装、基础设置、标签页/分类页生成及本地搜索功能搭建。 项目地址:https://github.com/anzhiyu-c/hexo-theme-anzhiyu 官方文档:https://docs.anheyu.com/initall.html 1. 安装主题1.1 Git 安装在博客根目录执行以下命令,安装最新版主题及必需渲染器: 12345# 安装安知鱼主题git clone -b main https://github.com/anzhiyu-c/hexo-theme-anzhiyu.git themes/anzhiyu# 安装pug及stylus渲染器(首次使用必需)npm install hexo-renderer-pug hexo-renderer-stylus --...
Hexo博客搭建全流程指南
1. 事前准备 必须:GitHub 账号 推荐:Cloudflare 账号(用于加速) 可选:自定义域名(或直接使用 GitHub.io / Pages.dev) 2. 软件安装2.1 安装 Node.js 官网下载:https://nodejs.org/en 默认路径安装:C:/Program Files/nodejs/ 验证安装:1node -v 配置国内镜像:1npm config set registry https://mirrors.huaweicloud.com/repository/npm/ 2.2 安装 Git 官网下载:https://git-scm.com/downloads 默认路径安装:C:/Program Files/Git 安装后可使用: Git CMD(Windows 命令风格) Git Bash(Linux 命令风格,推荐) Git GUI(图形界面,不推荐新手) 3. Git 与 GitHub 配置3.1 配置用户名和邮箱12git config --global user.name "你的用户名"git...