-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with 'favicon'? #597
Comments
Place icon locally under params:
favicon: /favicon.ico |
Brilliant --- thank you.
…On Tue, 3 May 2022 at 07:56, rmdhnreza ***@***.***> wrote:
Place icon locally under static/favicon.ico folder (assuming your icon
named as favicon.ico).
In config.yaml set like this.
params:
favicon: /favicon.ico
—
Reply to this email directly, view it on GitHub
<#597 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCRVSNAYFH4AQF7AGJU42DVIDEZDANCNFSM5UZ2S7XA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Gianluca Baio*
*Professor of Statistics & Health Economics*
Department of Statistical Science | University College London
1-19 Torrington Place, London WC1E 6BT, UK
Twitter: @stats_UCL <https://twitter.com/stats_UCL> | Instagram:
@stats_UCL <https://instagram.com/ucl.stats/>
Telephone +44(0)20 7679 1248 (internal: 41248)
Website: http://www.homepages.ucl.ac.uk/~ucakgba
Blog: https://gianluca.statistica.it/blog/
Book a meeting with me: https://book.morgen.so/gianlucabaio/book-me
[image: Twitter] <https://twitter.com/gianlubaio> [image: LinkedIn
(Personal)] <https://linkedin.com/in/gianluca-baio-b893879/> [image: Github]
<https://github.com/giabaio> [image: Zoom]
<https://ucl.zoom.us/j/9904462616> [image: ORCID]
<https://orcid.org/0000-0003-4314-2570> [image: Soundcloud]
<https://soundcloud.com/uclsound/sets/sample-space>
_____________________________________________________________
For Head of Department correspondence, please use ***@***.***
*This email may reach you outside of your working hours. If that's the
case, please do not feel pressure to reply immediately.*
|
I used to do this, which doesn't work properly as well. Thanks for your solution @rmdhnreza. params:
favicon: favicon.jpg |
I am still having trouble viewing the favicon after doing it this way @rmdhnreza . Is there anything I need to adjust in the theme that might be overriding it? |
Would you provide your config file along with folder structure? Also try deleting /resource and /public then re generate them |
@Ayx03 I ended up fixing it. I had the |
Seems to be confusing this part of the configuration. Will consider refactoring this part. Thanks for your responses! |
Hi there. I am not sure this is the right place to ask these couple of questions - I hope so...
So: I've just started using this theme, which looks very nice, simple and flexible. I have experienced a couple of issues with the favicon, though. Firstly I was trying to use an image in
assets/img
(locally, not underthemes/hugo-theme-stack/
) and it wasn't working. I figured that there's some processing of the images to rescale them and, while doing this, the file got renamed - I think that pointing to the renamed file in myconfig.yaml
file did the trick.However, it seems like this is only working for the landing page. Any other page doesn't show the favicon. An example is here.
Am I missing something obvious? I've not changed much form the default theme --- only added a few lines to
layouts/partials/article/components/details.html
(which I have created a copy of under the root of my website) to show the authors of each post.Thanks in advance.
Gianluca
The text was updated successfully, but these errors were encountered: