-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Add Resources.ByMediaType #12874
Comments
bep
added a commit
to bep/hugo
that referenced
this issue
Sep 23, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Sep 23, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Sep 23, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Sep 24, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Sep 28, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 12, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 13, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 13, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 18, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 19, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 21, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 22, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 22, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 22, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 24, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Oct 27, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 6, 2024
Fixes gohugoio#12626 Closes gohugoio#7499 Closes gohugoio#12874
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Working in improving the JS build situation, I'm ending up in a situation where I get a
Resources
slice that contains both Javascript and CSS.I could filter this with
where
, but since this will be such a common construct, I think we need to add anotherBy*
method.We have
Resources.ByType
which is (a little confusingly) filtering by the media type's main type.I suggest we add:
Resources.ByMediaType
so{{ $resources.ByMediaType "text/css" }}
would return what's expected.The text was updated successfully, but these errors were encountered: