You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.
Hi, Im trying to work out how to fix an issue I have with Recent Blog Posts. Up until recently I have been using Hugo 0.55 and I only needed to change the theme slightly to make it work with my setup.
I altered line 10 of the file themes/hugo-strata-theme/layouts/partials/recent-posts.html
from {{ range first 5 (where .Data.Pages "Section" "posts") }}
to {{ range first 5 (where .Data.Pages "Section" "blog") }}
and it worked perfectly.
I recently upgraded to 0.66.2 and now this no longer works, also changing it back to "posts" doesnt work
This must be something to do with how I have my site setup, can someone show me where Im going wrong?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, Im trying to work out how to fix an issue I have with Recent Blog Posts. Up until recently I have been using Hugo 0.55 and I only needed to change the theme slightly to make it work with my setup.
I altered line 10 of the file themes/hugo-strata-theme/layouts/partials/recent-posts.html
from
{{ range first 5 (where .Data.Pages "Section" "posts") }}
to
{{ range first 5 (where .Data.Pages "Section" "blog") }}
and it worked perfectly.
I recently upgraded to 0.66.2 and now this no longer works, also changing it back to "posts" doesnt work
This must be something to do with how I have my site setup, can someone show me where Im going wrong?
The text was updated successfully, but these errors were encountered: