本文同时发布于我的博客 杏铃の小本
这份配置学习了CSDN上的这篇文章
我对3.0.0版本的配置文件进行了一些解析, 注意:不完整
# Version of the configuration file
version: 3.0.0
# Icarus theme variant, can be "default" or "cyberpunk"
variant: default
# 网站logo,可使用文字或URL或将logo放在主题目录 soure/img 下(不推荐),文字使用方法在作者博客的FAQ里有写
logo:
# Page metadata configurations
head:
# 浏览器上你的网站图标,需要转换为svg格式并放在img文件夹中
favicon: /img/favicon.svg
# 一大堆不知什么意思的东西
# Open Graph metadata
# https://hexo.io/docs/helpers.html#open-graph
open_graph:
# Page title (og:title) (optional)
# You should leave this blank for most of the time
title:
# Page type (og:type) (optional)
# You should leave this blank for most of the time
type: blog
# Page URL (og:url) (optional)
# You should leave this blank for most of the time
url:
# Page cover (og:image) (optional) Default to the Open Graph image or thumbnail of the page
# You should leave this blank for most of the time
image:
# Site name (og:site_name) (optional)
# You should leave this blank for most of the time
site_name:
# Page author (article:author) (optional)
# You should leave this blank for most of the time
author:
# Page description (og:description) (optional)
# You should leave this blank for most of the time
description:
# Twitter card type (twitter:card)
twitter_card:
# Twitter ID (twitter:creator)
twitter_id:
# Twitter ID (twitter:creator)
twitter_site:
# Google+ profile link (deprecated)
google_plus:
# Facebook admin ID
fb_admins:
# Facebook App ID
fb_app_id: