# Improving pinned topic excerpts

**URL:** https://meta.discourse.org/t/improving-pinned-topic-excerpts/17640
**Category:** Feature
**Created:** [July 16, 2014, 5:55am UTC](https://meta.discourse.org/t/improving-pinned-topic-excerpts/17640 "2014-07-16T05:55:23Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![sarahann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sarahann/32/96703_2.png) [@sarahann](https://meta.discourse.org/u/sarahann)
#### Post date: [May 15, 2018, 5:54pm UTC](https://meta.discourse.org/t/improving-pinned-topic-excerpts/17640/24 "2018-05-15T17:54:37Z")

</div>

I noticed that there was a **SiteSetting.post\_excerpt\_maxlength** setting. Which I assume is this:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/d/c/dc3a25a91cce4d25eac9201f47c0c5a3dc7a0686.png)

I was hoping to change the length of a pinned topic/post excerpt. Upon digging into the code, I noticed this:

> <https://github.com/discourse/discourse/blob/44e58fa3668a2e8f939286094d2b7c415d5d685e/app/models/post.rb>

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/d/cd9497c3f3b938232ff55421c4192d34655b625f.png)

It appears 220 is being used for a (pinned) topic excerpt.

I was wondering what the **SiteSetting.post\_excerpt\_maxlength** setting did, and if the pinned topic excerpt length can be made into a setting?

---

_[View the full topic](https://meta.discourse.org/t/improving-pinned-topic-excerpts/17640)._
