alex-shpak / hugo-book

Hugo documentation theme as simple as plain book
https://hugo-book-demo.netlify.app
MIT License
3.4k stars 1.17k forks source link

How do I shorten my blog when using posts/xx.md? #579

Closed JandyZ22 closed 9 months ago

JandyZ22 commented 9 months ago

Rewrite my own E:\blog\myblog\content\posts under the.md preview found that my blog display is particularly crowded, how to achieve the same template effect? my: 1703602081440 template: tes

JandyZ22 commented 9 months ago

It has been solved by adding these lines of command to the hugo.toml file:

hasCJKLanguage = true
summaryLength = 150
paginate =  5