xiaoluoboding / ghost-theme-kaldorei

🎨 A Simple And Elegant Ghost Theme Derive From Default Theme Casper

Home Page:http://blog.xlbd.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

剥离社交账号信息

aiden-leong opened this issue · comments

应当允许用户在控制面板修改社交账号信息,留空则不展示相应社交平台

能修改的 但是我找不到

social.hbs 自己改改吧

你可以自定义主题设置!具体查看:https://ghost.org/docs/themes/custom-settings
例如在本主题中:
1.修改下载解压目录/partials/social.hbs 下a标签属性 href="{{@custom.github_url}}"
2.修改下载解压目录根目录下 package.json 在其中"config" 下添加
"custom":{
"github_url": {
"type": "text",
"default": "https://github.com/xiaoluoboding"
}
//ghost主题限制为总共 15 个自定义设置
}
其他链接项目同理~保证"{{@custom.github_url}}与"config"添加的"custom"中对应
修改后重新打包上传主题!
即可在后台主题设置侧边栏 Site design>Site-wide 中随时设置更改