1.更新主题,根目录下
cd themes/yilia
git pull
2.文章摘要显示,主题配置文件下
# yilia/_config.yml文件
excerpt_link: more
或
# 在博客md文件中,设置截断位置
<!--more-->
3.添加ico
theme/yilia/source
目录下添加favicon.ico
图片
favicon: /favicon.ico
4.设置打赏码
/themes/yilia/_config.yml
里设置
# 打赏
# 打赏type设定:0-关闭打赏; 1-文章对应的md文件里有reward:true属性,才有打赏; 2-所有文章均有打赏
reward_type: 2
# 打赏wording
reward_wording: '谢谢你请我吃糖果'
# 支付宝二维码图片地址,跟你设置头像的方式一样。比如:/assets/img/alipay.jpg
alipay: /assets/img/alipay.jpg
# 微信二维码图片地址
weixin: /assets/img/weixin.jpg
5.给博客文章打标签
.md开始里添加类似代码
---
title: test2
date: 2019-10-26 17:14:26
tags:
- 小工具
- hexo
- yilia
- tag
---