This repository has been archived by the owner on Jun 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 334
FAQ
Ruipeng Zhang edited this page Feb 11, 2016
·
9 revisions
Edit your blog's _config.yml
(not your theme's), change the following field:
- language: en
+ language: zh-CN
You can find available translation under hueman/languages
folder.
Add <!-- more -->
tag in your post. Post content before this tag will be marked as excerpt.
Please run these commands before hexo deploy
:
$ hexo clean
$ rm -r .deploy_git
You should look into posts' front-matter. Here is an example:
categories:
- Sports
- Baseball
This will render into Sports > Baseball.
You can add meta tags for each post/page through front-matter:
title: test post
date: 2015-01-26 21:55:37
tags:
comments: false
+ meta:
+ - name="robots";content="noindex, follow"
+ - name="another-meta";value="hello world";enabled=false