HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.2k stars 2.9k forks source link

Social Sharing Links not working #1789

Closed MyKo101 closed 4 years ago

MyKo101 commented 4 years ago

I've read #1114 & #1116 and it seems that changes have happened with the structure of the hugo-academic layouts since then, and this issue is still there.

The workaround seems to be to manually add in my baseurl to each of the links in my page_sharer.toml file. However, this isn't scalable and if I wish to change my url, there's a lot of fixing.

The solution proposed in the other issues is to replace

{{ partial "share.html" $ }}

with

{{ partial "share.html" $page }}

However, I'm not finding {{ partial "share.html" $ }} anywhere in my page_metadata.html.

There is a line

{{ partial "share" . }}

in the page_footer.html, but this is with a few other partial statements which all look similar and so I figured changing one would be ineffective.

gcushen commented 4 years ago

These issues are for bug reports and feature requests. For support, see https://github.com/gcushen/hugo-academic/blob/master/.github/support.md

MyKo101 commented 4 years ago

It is a bug that the Social sharing links are not working by default.