# URL ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' url: https://Siriusq.github.io root: / permalink: :year/:month/:day/:title/ permalink_defaults:
# Social Links # Usage: `Key: permalink || icon` # Key is the link label showing to end users. # Value before `||` delimeter is the target permalink. # Value after `||` delimeter is the name of FontAwesome icon. If icon (with or without delimeter) is not specified, globe icon will be loaded. social: #GitHub: https://github.com/ || github #E-Mail: mailto:<>@foxmail.com || envelope #Weibo: https://weibo.com/yourname || weibo #Google: https://plus.google.com/yourname || google #Twitter: https://twitter.com/yourname || twitter #FB Page: https://www.facebook.com/yourname || facebook #VK Group: https://vk.com/yourname || vk #StackOverflow: https://stackoverflow.com/yourname || stack-overflow #YouTube: https://youtube.com/yourname || youtube #Instagram: https://instagram.com/yourname || instagram #Skype: skype:yourname?call|chat || skype
开启阅读全文
开启 button
1 2 3
# Read more button # If true, the read more button would be displayed in excerpt section. read_more_btn: true
设置自动生成
1
npm install hexo-excerpt
1 2 3 4 5
# Automatically Excerpt (Not recommend). # Use <!-- more --> in the post to control excerpt accurately. auto_excerpt: enable: false length: 150
代码块复制按钮
1 2 3 4 5 6 7 8 9 10
codeblock: # Manual define the border radius in codeblock, leave it blank for the default value: 1 border_radius: # Add copy button on codeblock copy_button: enable: true # Show text copy result show_result: true # Style: only 'flat' is currently available, leave it blank if you prefer default theme style:
# Reward (Donate) reward_settings: # If true, reward would be displayed in every article by default. # You can show or hide reward in a specific article throuth `reward: true | false` in Front Matter. enable: false animation: false #comment: Donate comment here