fi3ework / hexo-theme-archer

🎯 A smart and modern theme for Hexo.
https://fi3ework.github.io/hexo-theme-archer
MIT License
1.49k stars 274 forks source link

請問可以關閉文章的 Share 功能嗎? #373

Closed pp1457 closed 1 year ago

pp1457 commented 1 year ago

「描述遇到的问题」或「发现的 bug」(Describe the problem or bug you encounter) 如題 你是否已经阅读过以下内容,并确认你的行为是正确的,在 [ ] 中填入 x 选中(Ensure that you had consulted followings and confirm the validity of your operation, fill x in [ ] to select)

如何复现(To Reproduce)

存在问题或 bug 的已部署上线的页面地址(A deployed page link that with bug or problem)

如果可能是与 markdown 内容相关的问题或 bug,请粘贴对应的 markdown 内容(If the problem or bug that may be related to markdown, paste it here)

打开控制台,填写控制台中打印的主题的版本,如果脚本出错可直接提供控制台截图(Open the console and report the version of hexo-theme-archer. You can paste the screenshot on console directly if there is error with script)

信息 (please complete the following information):

其他信息(Additional context)

Stark-X commented 1 year ago

目前沒有這樣的開關,請問關閉這個功能的目的是什麼呢?

LolipopJ commented 1 year ago

手动注释掉主题模板文件里的相关内容就好了,于 layout/_partial/base-background-image.ejs

https://github.com/fi3ework/hexo-theme-archer/blob/0a012d5d12e7a9680503329c133f75bddc07d8df/layout/_partial/base-background-image.ejs#L78-L91