# Decorate topic list with jquery?

**URL:** <https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931>\
**Category:** Development\
**Created:** [December 7, 2016, 5:09pm UTC](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931 "2016-12-07T17:09:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jgujgu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jgujgu/32/64012_2.png) [@jgujgu](https://meta.discourse.org/u/jgujgu)\
**Post date:** [December 7, 2016, 9:37pm UTC](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931/5 "2016-12-07T21:37:28Z")

</div>

Yes I have indeed looked over the TLP code. Unfortunately, particular to how I render the blocks (for example [Choropleth · GitHub](http://bl.ocks.org/mbostock/4060606)), the only `cooked` data that resides in the database is an html tag,

```html
<div class="gist" data-user="mbostock" data-gist="4060606"></div>

```

For decorating posts, I’m currently using jquery to find the `.gist` class, `get()` the gist data according to the `user` and `gist`, then render the iframe.

For excerpts, I was hoping to use a similar method, using the untouched `div` in the excerpt to get the data necessary to find the thumbnail on github.

---

_[View the full topic](https://meta.discourse.org/t/decorate-topic-list-with-jquery/53931)._
