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

Make media.Type and output.Format comparable #8317

Closed
bep opened this issue Mar 12, 2021 · 1 comment
Closed

Make media.Type and output.Format comparable #8317

bep opened this issue Mar 12, 2021 · 1 comment
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Mar 12, 2021

No description provided.

@bep bep added this to the v0.82 milestone Mar 12, 2021
@bep bep self-assigned this Mar 12, 2021
bep added a commit to bep/hugo that referenced this issue Mar 12, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
bep added a commit to bep/hugo that referenced this issue Mar 13, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 13, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 14, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 14, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 14, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 14, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
bep added a commit to bep/hugo that referenced this issue Mar 14, 2021
So we can use it and output.Format as map key etc.

This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg.

This means that there are no Suffix or FullSuffix on media.Type anymore.

Fixes gohugoio#8317
Fixes gohugoio#8324
@bep bep closed this as completed in ba1d005 Mar 14, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant