search: path: search.xml field: post format: html limit: 10000
编辑主题配置文件,启用本地搜索
1 2 3
# Local search local_search: enable: true
设置个人头像
主题配置文件中设置以下内容
1 2 3 4 5 6 7 8 9 10 11 12
# Sidebar Avatar avatar: # in theme directory(source/images): /images/avatar.gif # in site directory(source/uploads): /uploads/avatar.gif # You can also use other linking images. url: #/images/avatar.jpg # If true, the avatar would be dispalyed in circle. rounded: false # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar. opacity: 1 # If true, the avatar would be rotated with the cursor. rotated: false
gitalk: enable: true #开启 github_id: github的id # GitHub repo owner repo: 用于存放评论的仓库名,可以新建一个仓库 # Repository name to store issues client_id: 刚才注册完提供的 # GitHub Application Client ID client_secret: 刚才注册完提供的 # GitHub Application Client Secret admin_user: github的用户名 # GitHub repo owner and collaborators, only these guys can initialize gitHub issues distraction_free_mode: true # Facebook-like distraction free mode # Gitalk's display language depends on user's browser or system environment # If you want everyone visiting your site to see a uniform language, you can set a force language value # Available values: en | es-ES | fr | ru | zh-CN | zh-TW language: zh-CN #中文