ribice / kiss

Stupidly simple Hugo blogging theme
https://themes.gohugo.io/theme/kiss/
MIT License
295 stars 130 forks source link

Summary of post #88

Closed bmy4415 closed 4 years ago

bmy4415 commented 4 years ago

Hi, I'm new to hugo - kiss theme.

I'm writing my blog with kiss theme. At homepage, I can see summary of each of my post. But some text block enclosed with ```, which represents code block, exists in my summary therefore makes summary dirty. For example, see post Hugo Tips.

스크린샷 2020-01-18 오후 12 38 32 스크린샷 2020-01-18 오후 12 41 10

I was adding ``` block but it's content (which is dirty command line results) appears directly in summary of post.

Is there any way to avoid this?

Thanks, Jaewan

ribice commented 4 years ago

You can add the <!--more--> tag to define what will be shown in Summary.

bmy4415 commented 4 years ago

Thanks! I can add this tag to my own markdown file.

AdamSLevy commented 4 years ago

@ribice Could you please clarify where <!--more--> should go to limit the summary of a post?

btimofeev commented 4 years ago

https://gohugo.io/content-management/summaries/