当前位置:网站首页>学习 Butterfly主题美化 这一篇就够了
学习 Butterfly主题美化 这一篇就够了
2022-04-22 00:34:00 【Laptoy】
一、主题配置文件修改
1.1、基础配置
主目录下 _config.yml
# Site
title: Laptoy's Blog # 博客名
subtitle: ''
description: '敏于思考,锐于实现' # 签名
keywords:
author: Laptoy
language: zh-CN
timezone: 'Asia/Shanghai'


1.2、导航栏配置(一)
此时除了首页和归档,其余都是404,后面解决
menu:
首页: / || fa fa-home
归档: /archives/ || fa fa-archive
标签: /tags/ || fa fa-tags
分类: /categories/ || fa fa-folder-open
留言板: /messageboard/ || fa fa-paper-plane
友链: /link/ || fa fa-link
日志: /timeline/ || fa fa-bell
菜单 || fa fa-list:
- about || /about/ || fa fa-sitemap
- myself || /myself/ || fa fa-id-card
- butterfly || https://github.com/jerryc127/hexo-theme-butterfly/ || fa fa-heart

1.3、导航栏配置(二)
1、归档
这个页面不用创建,自动已经带了
2、标签
1、执行命令新建标签页面
hexo new page tags
2、修改:source/tags/index.md
---
title: 标签
date: 2018-01-05 00:00:00
type: tags
---
3、以后上传文章的md文件中,可以在标题头中加入tags,包含 标签 文章的例子:
---
title: 学习 Dokcer 这一篇就够了
tag:
- 运维
---

3、分类
hexo new page categories
---
title: 分类
date: 2018-01-05 00:00:00
type: categories
---
---
title: 学习 Dokcer 这一篇就够了
tag:
- 运维
categories:
- Docker
---

4、留言板
hexo new page messageboard
---
title: 留言板
date: 2018-01-05 00:00:00
type: messageboard
---
5、友链
hexo new page link
---
title: 友链
date: 2018-01-05 00:00:00
type: link
---
在Hexo目录中的source/_data,创建一个文件link.yml,内容如下
class:
class_name: 友情链接
link_list:
1:
name: 姓名
link: 链接
avatar: 图片
descr: 签名
2:
name: 姓名
link: 链接
avatar: 图片
descr: 签名
6、日志
hexo new page timeline
---
title: 日志
date: 2018-01-05 00:00:00
type: timeline
---
7、关于
hexo new page about
---
title: 关于
date: 2018-01-05 00:00:00
type: about
---
8、myself
hexo new page myself
---
title: This is me
date: 2018-01-05 00:00:00
type: myself
---
1.4、副标题配置
修改 bufferfly下的 _config.yml
subtitle:
enable: true
sub:
- 何其荣幸 何德何能
- 所有的不平凡都来自平凡

版权声明
本文为[Laptoy]所创,转载请带上原文链接,感谢
https://blog.csdn.net/apple_53947466/article/details/124319569
边栏推荐
- 短视频APP相关推荐资源位的高扩展高可用工程实践
- While hoarding goods, it's time to recognize cans again
- Cookie & session learning
- Cloud security daily 220421: Cisco virtualization infrastructure manager software found a privilege upgrade vulnerability and needs to be upgraded as soon as possible
- [observation] purple light cloud: homogeneous hybrid cloud is upgraded to distributed cloud, making cloud and intelligence everywhere
- [redis] using redis to optimize the display of provinces, the data will not be displayed
- 华为云云主机体验有感:你的软件收纳专家
- 观测云登陆阿里云计算巢,共建ISV新生态
- High expansion and high availability engineering practice of recommended resource bits related to short video app
- 在setTimeout里设置倒数5秒计时的方法
猜你喜欢

终极套娃 2.0|云原生 PaaS 平台的可观测性实践分享

Cookie & session learning

Build JMeter + Jenkins + ant sustainability

Analysis and interpretation of the current situation and challenges faced by enterprise operation and maintenance in the digital era
![[知识图谱] Tushare数据获取和展示(1/*)](/img/c7/52fefae0cb0e8a7a2a22854521b880.png)
[知识图谱] Tushare数据获取和展示(1/*)

精品:千字长文教你使用字节跳动的火山引擎ImageX

Pytorch安装及GroupSpatialSoftmax报错解决

【ACM/webank】#491. Incremental subsequence (use HashSet to record and prevent repeated subsequences)

From concept to realization, how does smart home come into our life step by step

云原生爱好者周刊:寻找 Netlify 开源替代品
随机推荐
Addition, deletion, modification and query of advanced MySQL data (DML)
2022 年 4 月中国数据库排行榜:春风拂面春意暖,分数回升四月天
Shallow comparison between oceanbase and tidb - implementation plan
【Zeele_Tech】ROS/ROS 2介绍
[knowledge atlas] tushare data acquisition and display (1 / *)
Cloud native enthusiast weekly: looking for open source alternatives to netlify
解决 idea web项目没有小蓝点的问题
想要加盟智能家居,你需要了解些什么?
Five tips for novices to do cross-border e-commerce in 2022
Build a personal blog (WordPress) on Alibaba cloud
Oceanbase 和 TiDB 粗浅对比之 - 执行计划
【面试普通人VS高手系列】能谈一下CAS机制吗?
诚邀报名丨首期OpenHarmony开发者成长计划分享日
hex,base64,urlencode编码方案对比
MySQL进阶之表的增删改查
ZGC garbage collector for JVM from getting started to giving up
MySQL basic collection
DPI released the latest progress report on AI drug research and development
Technology cloud report: DPU market is hot. Will several large factories be allowed to eat alone in the future?
How can devices of different brands be compatible and interconnected? Yiwen teaches you to understand