1主题
https://github.com/litten/hexo-theme-yilia
git clone https:
2
npm install hexo-generator-json-content --save
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true
3图片
图片的文件路径,图片格式用.jpg
\blog\themes\yilia\source\assets
4添加归档
hexo new page archives
配置文件
menu:
主页: /
归档: /archives/index.html
5部署
ssh -T git@github.com # 注意邮箱地址不用改
deploy:
type: 'git'
repo: git@github.com:xxx/xxx.github.io.git
branch: master
npm install hexo-deployer-git --save
|