frjo / hugo-theme-zen

A fast and clean Hugo base theme with css-grid and Hugo pipes support.
https://zen-demo.xdeb.org/
GNU General Public License v2.0
276 stars 80 forks source link

List template assumes pages have titles #101

Closed gabrc52 closed 1 year ago

gabrc52 commented 1 year ago

See layouts/_default/summary.html:

<a href="{{ .RelPermalink }}">{{ .Title }}</a>

Since the only way to open that page is through that link, if there is no title, the link is invisible.

frjo commented 1 year ago

Thanks for the contribution! This feels like an edge case and the templates are easy to override for the few that needs this.

I have build many Hugo sites with the Zen theme and never encountered one where there was no titles.