Skip to content
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

Use relative URL for favicon #251

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

nickjwhite
Copy link
Contributor

This fixes sites which have the baseURL in a subdirectory.

This fixes sites which have the baseURL in a subdirectory.
@regisphilibert regisphilibert self-requested a review February 5, 2020 20:42
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again. And again could you do as for #252 and remove the () :)

Thanks a ton!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I make it easier to change? :)

Suggested change
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" />
<link rel="shortcut icon" href="{{ relURL $.Site.Params.favicon }}" type="image/x-icon" />

@regisphilibert regisphilibert merged commit 4cf0842 into theNewDynamic:master Jun 3, 2020
Remicck pushed a commit to Remicck/gohugo-theme-ananke that referenced this pull request Mar 7, 2022
This fixes sites which have the baseURL in a subdirectory.

Co-authored-by: Nick White <git@njw.name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants