douban: user:userid builtin:false book: title:'This is my book title' quote:'This is my book quote' meta:true comments:true top_img:https://cccccc.png aside:true movie: title:'This is my movie title' quote:'This is my movie quote' meta:true comments:true top_img:https://cccccc.png aside:true game: title:'This is my game title' quote:'This is my game quote' meta:true comments:true top_img:https://cccccc.png aside:true timeout:10000
# The banner image of home page index_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# If the banner of page not setting, it will show the top_img default_top_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# The banner image of archive page archive_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# If the banner of tag page not setting, it will show the top_img # note: tag page, not tags page (子標籤頁面的 top_img) tag_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# The banner image of tag page # format: # - tag name: xxxxx tag_per_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# If the banner of category page not setting, it will show the top_img # note: category page, not categories page (子分類頁面的 top_img) category_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
# The banner image of category page # format: # - category name: xxxxx category_per_img:https://image.plaudern.net/images/2021/04/22/background2.jpg
aside: enable:true# 是否启用侧边栏 hide:false# 是否隐藏 button:true# 是否有开关按钮 mobile:true# 手机是否显示 position:left# left or right 左边或者右边显示 card_author:# 作者页 enable:true description:一只摸鱼怪,酷爱跑路。 button: enable:true icon:fabfa-github text:FollowMe link:https://github.com/Plaudern card_announcement:# 公告页面 enable:true content:随时摸鱼,随时跑路,今天还没有跑路哦 card_recent_post:# 最新文章 enable:true limit:5# if set 0 will show all sort:date# date or updated sort_order:# Don't modify the setting unless you know how it works card_categories:# 最新评论 enable:true limit:8# if set 0 will show all expand:none# none/true/false sort_order:# Don't modify the setting unless you know how it works card_tags:# 标签页展示 enable:true limit:40# if set 0 will show all color:true# sort_order:# Don't modify the setting unless you know how it works card_archives:# 时间线展示 enable:true type:monthly# yearly or monthly format:MMMMYYYY# eg: YYYY年MM月 order:-1# Sort of order. 1, asc for ascending; -1, desc for descending limit:8# if set 0 will show all sort_order:# Don't modify the setting unless you know how it works card_webinfo:# 网页信息 enable:true post_count:true last_push_date:true sort_order:# Don't modify the setting unless you know how it works
comments: # Up to two comments system, the first will be shown as default # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo use: -Valine # - Disqus text:true# Display the comment name next to the button # lazyload: The comment system will be load when comment element enters the browser's viewport. # If you set it to true, the comment count will be invalid lazyload:false count:false# Display comment count in post's top_img card_post_count:false# Display comment count in Home Page
Valine配置
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# valine # https://valine.js.org valine: appId:# leancloud application app id appKey:# leancloud application app key pageSize:10# comment list page size avatar:monsterid# gravatar style https://valine.js.org/#/avatar lang:zh-CN# i18n: zh-CN/zh-TW/en/ja placeholder:Pleaseleaveyourfootprints# valine comment input placeholder (like: Please leave your footprints) guest_info:nick,mail,link# valine comment header info (nick/mail/link) recordIP:false# Record reviewer IP serverURLs:# This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in) bg:# valine background emojiCDN:# emoji CDN enableQQ:true# enable the Nickname box to automatically get QQ Nickname and QQ Avatar requiredFields:nick,mail# required fields (nick/mail) option:
# Snackbar (Toast Notification 彈窗) # https://github.com/polonel/SnackBar # position 彈窗位置 # 可選 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right snackbar: enable:true position:top-center bg_light:'#49b1f5'# The background color of Toast Notification in light mode bg_dark:'#121212'# The background color of Toast Notification in dark mode
用以替代浏览器的alert提示框
CSS前缀
有些 CSS 並不是所有瀏覽器都支持,需要增加對應的前綴才會生效。
開啟 css_prefix 後,會自動為一些 CSS 增加前綴。(會增加 20%的體積)
1 2
# Add the vendor prefixes to ensure compatibility css_prefix:true