AnZhiYu主题美化详细教程
基于AnZhiYu官方文档的完整美化指南
🎯 前言AnZhiYu是一个基于Butterfly主题魔改的Hexo主题,拥有极佳的视觉效果和丰富的自定义功能。本教程将带你从基础配置到高级美化,打造专属的博客站点。
📋 目录
主题安装与基础配置
外观美化配置
首页布局优化
导航栏自定义
侧边栏美化
页面个性化
特色功能启用
高级自定义
🚀 主题安装与基础配置1. 主题安装方法一:Git安装(推荐)12cd your-hexo-sitegit clone -b main https://github.com/anzhiyu-c/hexo-theme-anzhiyu.git themes/anzhiyu
方法二:下载安装
访问 AnZhiYu GitHub
下载最新版本
解压到 themes/anzhiyu 目录
2. 应用主题修改站点根目录下的 _config.yml:
1theme: anzhiyu
3. 安装必要依赖1npm install hexo-renderer-pug hexo-renderer-stylus --save
🎨 外 ...
📘 C语言基础语法教程
🚀 本文覆盖 C语言的基本语法结构,配套图标便于理解和记忆,适合零基础入门学习。
📚 目录
🔍 C语言简介
🏗️ 程序基本结构
💬 注释
🔢 数据类型与变量
🧮 运算符
📥 输入与输出
🔁 控制语句
📦 数组
🔤 字符串
🧩 函数
📍 指针
🧱 结构体
⚙️ 预处理指令
📂 文件操作
🔍 C语言简介
💡 由 Dennis Ritchie 于1972年开发。
🛠️ 广泛应用于嵌入式开发、操作系统、驱动程序、编译器等领域。
💬 是 C++ 和 Java 等语言的基础。
🏗️ 程序基本结构123456#include <stdio.h>int main() { printf("Hello, World!\n"); return 0;}
#include <stdio.h>:引入标准输入输出库。
int main():主函数,程序从这里开始执行。
printf():打印输出。
return 0;:返 ...
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