# --------------------------------------------------------------- # Menu Settings # ---------------------------------------------------------------
# Usage: `Key: /link/ || icon` # Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive. # Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon. # When running the site in a subdirectory (e.g. yoursite.com/blog), remove the leading slash from link value (/archives -> archives). # External url should start with http:// or https:// menu: home:/||fafa-home about:/about/||fafa-user tags:/tags/||fafa-tags categories:/categories/||fafa-th archives:/archives/||fafa-archive #schedule: /schedule/ || fa fa-calendar #sitemap: /sitemap.xml || fa fa-sitemap #commonweal: /404/ || fa fa-heartbeat
sidebar: # Sidebar Position. position:left #position: right
# Manual define the sidebar width. If commented, will be default for: # Muse | Mist: 320 # Pisces | Gemini: 240 width:250
# Sidebar Display (only for Muse | Mist), available values: # - post expand on posts automatically. Default. # - always expand for all pages automatically. # - hide expand only when click on the sidebar toggle icon. # - remove totally remove sidebar including sidebar toggle. display:post
# Sidebar padding in pixels. padding:30 # Sidebar offset from top menubar in pixels (only for Pisces | Gemini). offset:12 # Enable sidebar on narrow view (only for Muse | Mist). onmobile:false
# Sidebar Avatar avatar: # Replace the default image and set the url here. url:/images/head.jpg # If true, the avatar will be dispalyed in circle. rounded:true # If true, the avatar will be rotated with the cursor. rotated:false
这一部分是设置头像的
url:头像的图片保存在themes/next/source/images文件夹中
rounded:头像变成圆框,推荐
rotated:鼠标放上去会旋转,有点沙雕
1 2
# Posts / Categories / Tags in sidebar. site_state:true
是否展示这三个图标,方便你在sidebar里快速导航
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Social Links # Usage: `Key: permalink || icon` # Key is the link label showing to end users. # Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon. social: GitHub:https://github.com/yourname||fabfa-github E-Mail:mailto:yzy20040303@gmail.com||fafa-envelope #Weibo: https://weibo.com/yourname || fab fa-weibo #Google: https://plus.google.com/yourname || fab fa-google #Twitter: https://twitter.com/yourname || fab fa-twitter #FB Page: https://www.facebook.com/yourname || fab fa-facebook #StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow #YouTube: https://youtube.com/yourname || fab fa-youtube #Instagram: https://instagram.com/yourname || fab fa-instagram #Skype: skype:yourname?call|chat || fab fa-skype
社交链接:自行设置即可,||后面依然是图标
有点写不动了,感觉注释很详细,可以跟着注释去做
设置右上角Github图标
1 2 3 4 5 6
# `Follow me on GitHub` banner in the top-right corner. github_banner: enable:true permalink:https://github.com/DreamKongcheng title:FollowmeonGitHub