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.19k stars 2.9k forks source link

Font Awesome Webfonts folder is not imported when using "academic import --assets" #1471

Closed jeffscottlevine closed 4 years ago

jeffscottlevine commented 4 years ago

Welcome to Academic's GitHub repo 👋

We use GitHub only for bug reports and feature requests - it's our project management tool.

For help and questions, please join our community chat or use the forum 🚑.

Also, you can search and browse the extensive Academic and Hugo documentation.

For questions on Blogdown, please reach out to the Blogdown community.

Describe the bug

If one uses the "academic import --assets" feature, only the css files associated with Font Awesome are extracted from the CDN repos. That may be the way its supposed to work based on the assets.toml folder. Unfortunately, the "search" and other Font Awesome icons are no timported because they are in the webfonts folder. One must also fetch the webfonts folder and install the folder at the same level as the "vendor" folder (not within the "vendor folder"). At that point the "search" and related FontAwesome icons will appear. This may be the desired behavior but there should be some documentation about needing do do this when assets are imported.

To Reproduce

Steps to reproduce the behavior:

  1. install academic theme using git clone
  2. install the academic admin tool
  3. cd to the site directory
  4. academic import --assets
  5. hugo server --watch
  6. browse to localhost:1313
  7. You will not see the search (magnifying glass)
  8. Now copy the webfonts folder over to static/css/webfonts
  9. refresh the browser and you will see the search icon

Expected behavior

I would like to see the webfonts imported as well.

Technical details:

If applicable, add screenshots to help explain the issue.

gcushen commented 4 years ago

This is the repo for Academic, not the Academic Admin tool. Please search the issues in the relevant repo: https://github.com/sourcethemes/academic-admin