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

Don't copy default favicon if at least one is overridden. #1266

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 27, 2020

If the user has overridden one favicon format (SVG or PNG), don't copy the default for the other.

Books may override PNG, but not have a convenient SVG version that they want to use.

@ehuss ehuss merged commit 649f355 into rust-lang:master Jul 3, 2020
ehuss added a commit to ehuss/mdBook that referenced this pull request Jul 8, 2020
A mistake in rust-lang#1266, I neglected to also update the <link> generation
to elide the link if one of the favicon images is not included.
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
Don't copy default favicon if at least one is overridden.
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
A mistake in rust-lang#1266, I neglected to also update the <link> generation
to elide the link if one of the favicon images is not included.
rubenmoor pushed a commit to rubenmoor/mdBook that referenced this pull request Aug 5, 2022
A mistake in rust-lang#1266, I neglected to also update the <link> generation
to elide the link if one of the favicon images is not included.
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.

1 participant