-
Notifications
You must be signed in to change notification settings - Fork 51
No excerpt / summary instead just (...) #17
Comments
That source code you reference says that, if there's no description, and the So, the behavior you want is hidden behind a flag. Presumably somebody did this to maintain backward compatibility. To enable the option, put |
Still not working. Only see three dots ... when putting |
Hi! I tried this too but without success, is there anything I should be aware of? |
Hi! I found the way to properly do this! |
Hi! Thank you. Had the same problem, putting |
The missing parameter useSummaryIfNoDescription basically disables the use of Hugo-created summaries in the post overview, because of a conditional that cannot evaluate true. The parameter chould be in the config.taml by default to avoid confusing users.
For a fix please have a look at #19 |
Not sure if this is a theme issue or not. I fell in love with this theme so I didn't test with any other theme... The problem is that I don't see excerpt at all. I only see three dots (...) instead.
For excerpts/summaries to work do I need to set anything under config.toml?
This is the source for how excerpt with three (...) dots looks like:
EDIT: Reading source code: https://github.com/digitalcraftsman/hugo-steam-theme/blob/master/layouts/_default/summary.html
{{ if and (not .Description) (.Site.Params.useSummaryIfNoDescription)}}
What does this line do exactly? If I don't have description inside my post/test.md then I see three dots. But if I add description = "blabla" I see "blabla" as my excerpt. Wouldn't expected behaviour be to use .Summary if no description?
The text was updated successfully, but these errors were encountered: