eshlox / simplicity

Hugo theme.
MIT License
50 stars 16 forks source link

fix(Favicons): Favicon was linking to 404 #15

Closed Teufelchen1 closed 5 years ago

Teufelchen1 commented 5 years ago

Hi!

I noticed that the Favicons weren't working in the exampleSite. This is the fix I came up with. Since the Favicons were saved in the /assets folder, one has to use .Permalink/.RelPermalink on them in order to render them. https://gohugo.io/hugo-pipes/introduction/#asset-publishing

I adapted the readme accordingly. Note that the override no longer happens in /static instead it has moved to /assets.

I would like you to give the overriding a short test before merging. Thanks, Bennet

eshlox commented 5 years ago

@Teufelchen1 It works for me, tested locally, thanks!