Skip to content

Add favicon#5

Open
BravishkaSkytano wants to merge 1 commit into
supun-io:masterfrom
BravishkaSkytano:patch-1
Open

Add favicon#5
BravishkaSkytano wants to merge 1 commit into
supun-io:masterfrom
BravishkaSkytano:patch-1

Conversation

@BravishkaSkytano

Copy link
Copy Markdown

Every site should have a favicon. Users will only need to add one file to the site's root directory.

@BravishkaSkytano
BravishkaSkytano marked this pull request as ready for review November 19, 2020 02:19
@supun-io

Copy link
Copy Markdown
Owner

Apologies for the 2-year delay. This would limit the favicon to be .png, wouldn't it? I think it would be better to not have this, as all browsers default to favicon.ico. If the user needs something else, he'd add a custom line like this.

Open for feedback.

@BravishkaSkytano

Copy link
Copy Markdown
Author

It's been a while since I used this theme, however, I do recall trying to use a favicon.ico and it didn't work. You could set it as a config variable instead, I suppose.

favicon: /assets/favicon.ico
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.favicon }}">

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.

2 participants