Closed emilburzo closed 4 years ago
That's actually how Hugo works.
By adding the <!--more-->
to specify summary part, Hugo will pass rendered HTML to {{ .Summary }}
, otherwise its just raw text cut from files according to summary length settings.
Huh, that's pretty strange behavior...
Thanks for the information and sorry for the noise!
Hi,
First off, amazing theme, I especially love the built-in dark mode :heart:
I'm new to hugo, so I'm not sure if the bug is in this theme or in hugo itself, but:
If I don't use
<!--more-->
in my posts, the index page is missing all the formatting, it's just raw text, e.g.:Without
<!--more-->
With
<!--more-->
This only happens for the index page, the actual post page itself is fine in both cases.
Thanks!