site_footer: layout: [..., br, hello, ...] ... # You can add your own property here. (Support markdown, for example: br: '<br>') br:'<br>' hello:'[Hello World](/)'
网站与文章封面
封面高度
_config.volantis.yml
1 2 3
cover: height_scheme:full# full, half ...
目前主题提供两种首页封面高度方案,其它页面均为半屏幕高度。
封面布局方案
_config.volantis.yml
1 2 3 4
cover: ... scheme:dock# search (搜索), dock (坞), featured (精选), focus (焦点) ...
布局方案
适合场景
search
注重搜索
dock
入口选项比较多
featured
选项在4个左右
focus
选项在4个左右
默认显示设置
_config.volantis.yml
1 2 3 4 5 6
cover: ... display: home:true archive:false others:false# can be written in front-matter 'cover: true'
blogger: class:blogger display: [desktop] # [desktop, mobile] avatar:https://cdn.jsdelivr.net/gh/xaoxuu/cdn-assets/avatar/avatar.png title: subtitle: jinrishici:true# Poetry Today. You can set a string, and it will be displayed when loading fails. social:true
其中,今日诗词 jinrishici 如果设置为一个字符串,这个字符串会变成占位文字,加载失败时显示。可以设置 jinrishici: false 以禁用。 social 的具体内容可以在网站页脚部分设置。
# 视差滚动效果 Slide Background parallax: enable:#true position:cover# cover: sticky on the cover. fixed: Fixed as background for the site. shuffle:true# shuffle playlist duration:10000# Duration (ms) fade:1500# fade duration (ms) (Not more than 1500) images:# For personal use only. At your own risk if used for commercial purposes !!! -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/001.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/002.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/003.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/004.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/005.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/006.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/012.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/016.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/019.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/025.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/033.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/034.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/035.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/038.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/039.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/042.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/046.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/051.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/052.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/054.webp -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/056.webp
# APlayer is only available in mainland China. # APlayer config: https://github.com/metowolf/MetingJS aplayer: enable:#true js: aplayer:https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@master/js/APlayer.mini.js# aplayer@1.10 魔改: 将触摸和滚轮事件监听器标记为 `passive`,以提高页面的滚动性能 meting:https://cdn.jsdelivr.net/npm/meting@2.0/dist/Meting.min.js # Required server:netease# netease, tencent, kugou, xiami, baidu type:playlist# song, playlist, album, search, artist id:3175833810# song id / playlist id / album id / search keyword # Optional fixed:false# enable fixed mode theme:'#1BCDFC'# main color autoplay:false# audio autoplay order:list# player play order, values: 'list', 'random' loop:all# player loop play, values: 'all', 'one', 'none' volume:0.7# default volume, notice that player will remember user setting, default volume will not work after user set volume themselves list_max_height:320px# list max height list_folded:true
# Pjax pjax: enable:true cover:true# 封面是否pjax处理 false:每次切换页面封面都重载,适合封面较少的情况 true:封面经过Pjax处理,适合封面较多的情况 timeout:5000# The timeout in milliseconds for the XHR requests. Set to 0 to disable the timeout. cacheBust:false# When set to true, Pjax appends a timestamp to skip the browser cache. animation:false# false, nprogress, circle banUrl:# 被屏蔽的 url 地址将不启用 pjax 跳转,可以在控制台下使用 window.location.pathname 获取 # - '/artitalk/' # artitalk 不支持 pjax # - '/bbtalk/' # bbtalk 不支持 pjax
# BBtalk https://bb.js.org bbtalk: # Set `plugins: ["bbtalk"]` to enable in front-matter # 不支持 Pjax js:https://cdn.jsdelivr.net/npm/bbtalk@0.1.5/dist/bbtalk.min.js# BBtalk.js appId:0KzOX4vC7Jsk6vzUGNeEiUaI-gzGzoHsz# your appID appKey:HwCiWuxfpvKiLm4teCUgTIba# your appKEY serverURLs:https://bbapi.heson10.com# Request Api 域名
plugins: ... parallax: enable:true position:cover# cover: sticky on the cover. fixed: Fixed as background for the site. shuffle:true# shuffle playlist duration:10000# Duration (ms) fade:1500# fade duration (ms) (Not more than 1500) images:# For personal use only. At your own risk if used for commercial purposes !!! -https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper/abstract/41F215B9-261F-48B4-80B5-4E86E165259E.jpeg ...
plugins: ... # APlayer is only available in mainland China. # APlayer config: https://github.com/metowolf/MetingJS aplayer: enable:true js: aplayer:https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.js meting:https://cdn.jsdelivr.net/npm/meting@2.0/dist/Meting.min.js # Required server:netease# netease, tencent, kugou, xiami, baidu type:playlist# song, playlist, album, search, artist id:3175833810# song id / playlist id / album id / search keyword # Optional fixed:false# enable fixed mode theme:'#1BCDFC'# main color autoplay:false# audio autoplay order:list# player play order, values: 'list', 'random' loop:all# player loop play, values: 'all', 'one', 'none' volume:0.7# default volume, notice that player will remember user setting, default volume will not work after user set volume themselves list_max_height:320px# list max height list_folded:true
plugins: ... # BBtalk https://bb.js.org bbtalk: # Set `plugins: ["bbtalk"]` to enable in front-matter # 支持 Pjax js:https://cdn.jsdelivr.net/npm/bbtalk@0.1.5/dist/bbtalk.min.js# BBtalk.js appId:0KzOX4vC7Jsk6vzUGNeEiUaI-gzGzoHsz# your appID appKey:HwCiWuxfpvKiLm4teCUgTIba# your appKEY serverURLs:https://bbapi.heson10.com# Request Api 域名
Tidio
/_config.volantis.yml
1 2 3 4 5 6 7 8 9
plugins: ... # 聊天功能 chat_service:tidio# tidio or gitter