# Create description from summary

**URL:** <https://discourse.gohugo.io/t/create-description-from-summary/36676>\
**Category:** support\
**Created:** [January 20, 2022, 1:52pm UTC](https://discourse.gohugo.io/t/create-description-from-summary/36676 "2022-01-20T13:52:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [January 20, 2022, 5:32pm UTC](https://discourse.gohugo.io/t/create-description-from-summary/36676/2 "2022-01-20T17:32:39Z")

</div>

> [@davidsneighbour](#):
>
> Is there a way to get _the first n characters of a post with no broken word at the end and an ellipsis added if the last character is not a sentencemark_ ?

Personally I use this [technique](https://discourse.gohugo.io/t/split-any-string-to-a-specified-number-of-words/24775/3)

Also see [strings.Truncate](https://gohugo.io/functions/truncate/#readout)

---

_[View the full topic](https://discourse.gohugo.io/t/create-description-from-summary/36676)._
