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

Local JS/CSS also need local fonts #639

Closed Harvester57 closed 6 years ago

Harvester57 commented 6 years ago

Hi !

As I mentionned in the comments of commit https://github.com/gcushen/hugo-academic/commit/efc201cf0c3b5f60f2045031e94061a3a518ceff, you also need to include fonts referenced in the CSS stylesheets in order for them to load properly. At least while rendering the website locally with Hugo, fonts and CSS weren't loading, resulting in missing icons (LinkedIn, ...) and error messages in Chrome console (error 404) about those ressources being missing.

I was able to make it work by creating a "font" directory the "static/css" directory, and including in it the following files:

Could you expand your instructions with this info ?

Thank you for your great work !

gcushen commented 6 years ago

Sure, you'll need to download all the third party assets to the appropriate location within static/ if you go the local route.

We are working on a tool for Academic v2.5 that will automate the downloading of third party assets :)

pvonmoradi commented 4 years ago

Sure, you'll need to download all the third party assets to the appropriate location within static/ if you go the local route.

We are working on a tool for Academic v2.5 that will automate the downloading of third party assets :)

Is this tool developed? I'm on version 4.8.0