mrmierzejewski / hugo-theme-console

A minimal, responsive and light theme for Hugo inspired by Linux console.
MIT License
393 stars 118 forks source link

Wraps the front page post summaries in paragraph-tags #14

Closed igufi closed 3 years ago

igufi commented 3 years ago

Unless you use <!--more--> at the end of a markdown paragraph break (assuming there is one within the summary character limit), the post summaries are stacked together with no vertical whitespace between them. Adding the <p>-tags fixes this. The main issue is inconsistency - if the summary ends at a paragraph break then you get the vertical space but it the summary just ends when the character count is full, then there will not be any vertical whitespace.

Before: hugo-1-Screenshot 2020-09-28 103552

After: hugo-2-Screenshot 2020-09-28 103552

Similar change should be done to the post-list partial

mrmierzejewski commented 3 years ago

Thanks for the suggestion, I just released a new version of the theme.