opera7133 / tella

Tella, A Hugo theme for Companies.
https://tella.pages.dev
MIT License
109 stars 85 forks source link

Icons no longer displaying #117

Closed pale-bluedot closed 2 years ago

pale-bluedot commented 2 years ago

I pulled the latest version of Tella and am using hugo v0.104.1. After building my site I noticed my icons (Font Awesome) on features.json and config.toml no longer display. I haven't changed anything code wise in either file.


[params.icon]
    #If you want to use FontAwesome, set this parameter to true.
    fa5 = true

# Footer Menu
  [[menu.footer]]
   name = "hello@bikenorthbergen.org"
   url = "mailto:hello@bikenorthbergen.org"
   weight = 1

  [[menu.footer]]
  name = "Instagram"
  pre = "<i class = 'fab fa-instagram'></i>"
  url = "https://www.instagram.com/bikenorthbergen/"
  weight = 2

  [[menu.footer]]
   name = "Twitter"
   pre = "<i class = 'fab fa-twitter'></i>"
   url = "https://twitter.com/bikenorthbergen"
   weight = 3

  [[menu.footer]]
   name = "Facebook"
   pre = "<i class = 'fab fa-facebook'></i>"
   url = "https://www.facebook.com/Bike-North-Bergen-108227921644201/"
   weight = 4

  [[menu.footer]]
   name = "Linktree"
   pre = "<i class = 'fas fa-link'></i>"
   url = "https://linktr.ee/bikenorthbergen/"
   weight = 5
[
  {
    "title": "Bike Hudson County",
    "description": "Visit our county-wide advocacy group",
    "icon": "fas fa-map-signs",
    "link": "https://bikehudsonco.org/"
  },
  {
    "title": "Newsletter",
    "description": "Subscribe to our mailing list or read the archives",
    "icon": "fas fa-scroll",
    "link": "https://buttondown.email/bikenorthbergen"
  }
]

Image 001 Image 002

opera7133 commented 2 years ago

I updated FontAwesome to 6 a while ago. At that time, I changed the name of the property fa5 in config.toml to fontawesome. So if you rewrite fa5 in config.toml to fontawesome and build again, it should show up.

[params.icon]
    #If you want to use FontAwesome, set this parameter to true.
    fontawesome = true
pale-bluedot commented 2 years ago

Thank you!