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

Fix Resource.ResourceType so it always returns MIME's main type #8065

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

bep
Copy link
Member

@bep bep commented Dec 17, 2020

The one exception being for the Page, which does not have a MIME type, in which you will get the value page.

Fixes #8052

The one exception being for the Page, which does not have a MIME type, in which you will get the value `page`.

Fixes gohugoio#8052
@bep bep merged commit 81975f8 into gohugoio:master Dec 17, 2020
@github-actions
Copy link

This pull request 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 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Resources.ByType "video" return empty result
1 participant