1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| slogan: enable: true # 改为true
# 为空则按 hexo config.subtitle 显示 # If empty, text based on `subtitle` in hexo config text: "明眸如初,又见苍岚" #写不写都可以
# 通过 API 接口作为首页副标题的内容,必须返回的是 JSON 格式,如果请求失败则按 text 字段显示,该功能必须先开启 typing 打字机功能 # Subtitle of the homepage through the API, must be returned a JSON. If the request fails, it will be displayed in `text` value. This feature must first enable the typing animation api: enable: true
# 请求地址 # Request url url: "https://v1.hitokoto.cn/" #添加一言接口
# 请求方法 # Request method # Available: GET | POST | PUT method: "GET"
# 请求头 # Request headers headers: {}
# 从请求结果获取字符串的取值字段,最终必须是一个字符串,例如返回结果为 {"data": {"author": "fluid", "content": "An elegant theme"}}, 则取值字段为 ['data', 'content'];如果返回是列表则自动选择第一项 # The value field of the string obtained from the response. For example, the response content is {"data": {"author": "fluid", "content": "An elegant theme"}}, the expected `keys: ['data','content']` keys: ['hitokoto'] #填写Keys
|