最近花了一点时间更新了团队的博客,原来团队使用的是hexo-next主题。以为SEO挺很差的,趁此次有空本身凭感受写了一个主题。风格有点相似扁平化。git
少了不少的花哨。但通过一个月的使用。发现团队博客的文章Seo好了不少。github
目前支持的只有首页,分类页面,文章页面。其余页面须要本身扩展。但基本已经够用了。npm
此次的升级,也带来了,很多的影响。原来的文章连接由于不合理,此次优化升级的时候痛下决心更改了全部文章连接。原来的连接都不能访问了,心在滴血。post
我本身的博客和团队的博客都用上了。喜欢的能够star一下。优化
git clone https://github.com/Yi-love/hexo-theme-f25.git
复制代码
not next page , only one page.ui
# _config.yml
# required
title:
subtitle:
description:
keywords:
author:
language: zh-CN
timezone: Asia/Shanghai
copyright:
# required
menu:
Home: /
About: /about
index_generator:
path: ''
per_page: 10000
# not next page , only one page.
per_page: 10000
# required
theme: hexo-theme-f25
复制代码
# themes/hexo-theme-f25/_config.yml
# required
default_cover: images/default_cover.jpg
google_analytics:
# favicon
favicon: /images/favicon.ico
复制代码
source post file.this
example:google
---
date: 2018-11-20 12:00
title: this is a title
subtitle: subtitle show you
cover: /images/first_cover.jpg
categories: [Node.js] ---
复制代码