hugo-PaperMod icon indicating copy to clipboard operation
hugo-PaperMod copied to clipboard

[BUG] Parameters hideSummary and hideMeta not effective for _index.md page

Open cruftex opened this issue 1 year ago • 0 comments

I define an _index.md page starting with this:

---
title: Title
hideSummary: on
hideMeta: on
---

My expectation is the list of pages does not include the summary and meta information, however, the flags have no effect. When I set hideSummary: on in a page, it gets recognised for that specific page. So I can switch on and off summary and meta information for individual list items.

When I change .Param "hideSummary to $.Param "hideSummary" in list.html it is working according to my expectations.

Not sure whether the current behaviour is a bug of a feature? Can we change this, so works well for _index.md pages?

cruftex avatar May 22 '23 10:05 cruftex