# PrevInSection following tag instead time

**URL:** <https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213>\
**Category:** support\
**Created:** [July 27, 2018, 3:06pm UTC](https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213 "2018-07-27T15:06:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RJGhugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rjghugo/32/6554_2.png) [@RJGhugo](https://discourse.gohugo.io/u/RJGhugo)\
**Post date:** [July 27, 2018, 3:06pm UTC](https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213/1 "2018-07-27T15:06:14Z")

</div>

Hello,  
I just started playing around with HUGO. Watching Tutorials and reading the documentation.

I have played around with tags. I got a list of tags (single.html):

`
{{ with .PrevInSection }}
    vorheriges: {{.Title}}
{{ end }}
   {{ with .NextInSection }}
        nächstes: {{.Title}}
{{ end }}
`

This works fine.

Now I would like to browse through the list, but instead of PrevInSection the next content with same tag.

Is there a way to do this?

Thank you in advance for helping me.

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [July 28, 2018, 4:37am UTC](https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213/2 "2018-07-28T04:37:44Z")

</div>

You might use the snippet at [Previous in Series and Next In Series links](https://discourse.gohugo.io/t/previous-in-series-and-next-in-series-links/2654/7?u=maiki).

---

<div class="post-metadata">

**Author:** ![RJGhugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rjghugo/32/6554_2.png) [@RJGhugo](https://discourse.gohugo.io/u/RJGhugo)\
**Post date:** [July 31, 2018, 9:01pm UTC](https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213/3 "2018-07-31T21:01:04Z")

</div>

Thanks maiki for the hint.

It seems, that I am struggling before your hint comes in action…

I have several posts:

post1: tags: car train plain  
post2: tags: car train boat  
post3: tags: car  
post4: tags: plain  
post5: tags: train

Hitting the taxonomy.html for train I shall have listed the following posts:

post1, post2 and post5

Choosing post2 from the taxonomy list will jump to the single.html

My choosen tag (train) will be listed among the other (car and boat) in the single.html

Browsing now form post2 further. I do not have any more my chosen (taxonomy list) tag but all included in post2 (car train and boat). Browsing now with Previous/Next will bring post1 resp. post3. Assuming the posts are all in the above order created.

As a newbie I am not sure weather I have misunderstood something. Is there no connection between the taxonomy.html and single.html expect the link? Is there a possibility to send a parameter from the taxonomy.html to the single.html?

Thanks in advance for a reply.

---

<div class="post-metadata">

**Author:** ![RJGhugo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rjghugo/32/6554_2.png) [@RJGhugo](https://discourse.gohugo.io/u/RJGhugo)\
**Post date:** [August 15, 2018, 10:07pm UTC](https://discourse.gohugo.io/t/previnsection-following-tag-instead-time/13213/4 "2018-08-15T22:07:57Z")

</div>

The taxonomy template solved my problem by paginating page by page. Single page, in this case, almost obsolete.
