Microsoft has terminated support for Internet Explorer (IE) 10 and earlier versions in 2016. There are great security risks to continue using it. Please use contemporary mainstream browsers to access. Learn more >')
style: ... color: site:'#21232F'# Website background color card:'#444'# Card background color text:'#fff'# The color of the text on the card. theme:'#ff9800'# Main color link:'#1BCDFC'# Link color hover:'#ff5722'# Link highlight color inner:'#333'# Text color inside the button block:'#555'# Block color inlinecode:yellow# Inline code color codeblock:'#555'# Codeblock color p:'#ccc'# Paragraph color
blogger: class:blogger display: [desktop] # [desktop, mobile] avatar:https://gcore.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
footer: layout: [..., br, hello, ...] ... # You can add your own property here. (Support markdown, for example: br: '<br>') br:'<br>' hello:'[Hello World](/)'
SEO
blog/themes/volantis/_config.yml
seo: # When there are no keywords in the article's front-matter, use tags as keywords. use_tags_as_keywords:true # When there is no description in the article's front-matter, use excerpt as the description. use_excerpt_as_description:true robots: home_first_page:index,follow home_other_pages:noindex,follow archive:noindex,follow category:noindex,follow tag:noindex,follow # robots can be written in front-matter
这部分一般不需要修改。
插件库
Volantis 为丰富的插件提供了兼容性优化。大部分插件您只需开启和关闭,无需进行设置。
幻灯片背景
blog/themes/volantis/_config.yml
plugins: ... backstretch: enable:true js:https://unpkg.com/jquery-backstretch@2.1.18/jquery.backstretch.min.js position:cover# cover: sticky on the cover. fixed: Fixed as background for the site. duration:20000# 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://gcore.jsdelivr.net/gh/volantis-x/cdn-wallpaper/abstract/41F215B9-261F-48B4-80B5-4E86E165259E.jpeg ...
plugins: ... aplayer: enable:true js: -https://unpkg.com/aplayer@1.10/dist/APlayer.min.js -https://unpkg.com/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:340px# list max height list_folded:true
comments: ... valine: appId:# your appId appKey:# your appKey js:https://unpkg.com/valine@1.4/dist/Valine.min.js path:# All pages use the same path (share the same comments data) meta:nick,mail,link# valine comment header info requiredFields: ['nick','mail'] enableQQ:true# Unstable avatar link placeholder:快来评论吧~# valine comment input placeholder(like: Please leave your footprints ) avatar:robohash# gravatar style https://valine.js.org/avatar pageSize:10# comment list page size lang:zh-cn highlight:true visitor:true mathJax:false
comments: ... minivaline: appId:# Your leancloud application appid appKey:# Your leancloud application appkey placeholder:WriteaComment# Comment box placeholder adminEmailMd5:# The MD5 of Admin Email to show Admin Flag. math:true# Support MathJax. md:true# Support Markdown. # MiniValine'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 | zh-CN | (and many more) # More i18n info: https://github.com/MiniValine/minivaline-i18n lang:
This is only for communication between users. If you have any questions, please go to GitHub to submit an issue. Asking questions in the comment area will not receive any response from the developer!