Closed vigliensoni closed 1 year ago
Perhaps a better approach would be to have a 'featured' category and filter by that.
The following snippet returns the entries with the category featured
{{ range where .Data.Pages ".Params.categories" "intersect" (slice "featured") }}
This was fixed through using a featured
tag.
The idea here would be to not show old stuff on the landing (portfolio) page but to show them on the navigation tab. By doing this, the landing page would be cleaner but all the information would be stored on the page.
This implementation should be done on the portfolio partial page:
https://github.com/kishaningithub/hugo-creative-portfolio-theme/blob/fa50cee717f24227c7ab79df8c20fc943801972c/layouts/partials/portfolio.html