# How can I output my tags in the summary limiting the amount of tags?

**URL:** https://discourse.gohugo.io/t/how-can-i-output-my-tags-in-the-summary-limiting-the-amount-of-tags/24903
**Category:** support
**Created:** [April 20, 2020, 6:55pm UTC](https://discourse.gohugo.io/t/how-can-i-output-my-tags-in-the-summary-limiting-the-amount-of-tags/24903 "2020-04-20T18:55:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![1112](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/1112/32/11138_2.png) [@1112](https://discourse.gohugo.io/u/1112)
#### Post date: [April 20, 2020, 6:55pm UTC](https://discourse.gohugo.io/t/how-can-i-output-my-tags-in-the-summary-limiting-the-amount-of-tags/24903/1 "2020-04-20T18:55:24Z")

</div>

Hey there, Ive got a problem.  
I need to output some of my Summary html from the entries to the page list.html.  
The code that generates summary:  
{{ $paginator := .Paginate (.Pages.ByDate.Reverse) }}  
{{ range $paginator.Pages}}  
{{ .Render “summary”}}  
{{ end }}

In order to specify what exactly I want in the summary Iv found the following:

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

Lets suggest that iv created an article and im writing the following code:

```
---
<p>
    teg1
</p>
<p>
    teg2
</p>
<!--more-->
{{< gist IzyI 2ff9806e09904641859a277071d8eb02 >}}
<p>
    teg3
</p>
<p>
    teg4
</p>

```

But if I write the code in my articles, the shotcodes in archetypes templates stop working and delete the first pert of the article.  
 ![- 1](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/1/15a82eec6d689a2bbfb4e314fbd4d76f55b66cc5.png)

At the same time summary in list.html template is still correct

---

<div class="post-metadata">

### Author: ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)
#### Post date: [April 20, 2020, 7:23pm UTC](https://discourse.gohugo.io/t/how-can-i-output-my-tags-in-the-summary-limiting-the-amount-of-tags/24903/2 "2020-04-20T19:23:46Z")

</div>

> [@1112](#):
>
> `<!--more-->`

make a blank line before and after it

---

<div class="post-metadata">

### Author: ![1112](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/1112/32/11138_2.png) [@1112](https://discourse.gohugo.io/u/1112)
#### Post date: [April 21, 2020, 1:15pm UTC](https://discourse.gohugo.io/t/how-can-i-output-my-tags-in-the-summary-limiting-the-amount-of-tags/24903/3 "2020-04-21T13:15:01Z")

</div>

I tried your method and i didn`t achieve desired result.  
But problem remains.  
This is my githab where i try to do it.

> <https://github.com/IzyI/blog/blob/master/content/it/first.html>

I have this version of Hugo:  
Hugo Static Site Generator v0.64.0-DEV linux/amd64 BuildDate: unknown

Where do I have problems?
