【hexo】一個好看的我的博客主題

最近花了一點時間更新了團隊的博客,原來團隊使用的是hexo-next主題。以爲SEO挺很差的,趁此次有空本身憑感受寫了一個主題。風格有點相似扁平化。git

少了不少的花哨。但通過一個月的使用。發現團隊博客的文章Seo好了不少。github

目前支持的只有首頁,分類頁面,文章頁面。其餘頁面須要本身擴展。但基本已經夠用了。npm

Futu.im: futu.im/hexo

此次的升級,也帶來了,很多的影響。原來的文章連接由於不合理,此次優化升級的時候痛下決心更改了全部文章連接。原來的連接都不能訪問了,心在滴血。post

主題地址: github.com/Yi-love/hex…

我本身的博客和團隊的博客都用上了。喜歡的能夠star一下。優化

npm install

git clone https://github.com/Yi-love/hexo-theme-f25.git
複製代碼

config

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

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] ---
複製代碼
相關文章
相關標籤/搜索