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
---