Skip to content

Information Setting

Ben Wong edited this page May 11, 2017 · 2 revisions

主题文件夹内有一个 _config.sample.yml 文件,里面列出了主题支持的所有设置项,可以参考新建一个 _config.yml 文件并进行自定义配置。

A _config.sample.yml is in your theme, which shows you all settings supported. You can new a _config.yml then put the settings in.

示例配置:

Example:

keywords: Hexo,HTML,CSS,android,Linux  # 博客的关键词 / Blog keywords
author: Author Name,name@example.com  # 博客作者和联系邮箱(目前 Google 可以识别) / Blog author and email
description: Nothing lasts forever.  # 博客描述,会显示在侧栏的 LOGO 下面 / Blog description
avatar: /images/favicon.png  # 右上角的头像,可用绝对路径引入他站资源 / Avatar in the top right corner