# Content for tag specific pages

**URL:** https://zola.discourse.group/t/content-for-tag-specific-pages/2218
**Category:** Support
**Created:** [July 14, 2024, 7:09am UTC](https://zola.discourse.group/t/content-for-tag-specific-pages/2218 "2024-07-14T07:09:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JeffPorter](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/jeffporter/32/1250_2.png) [@JeffPorter](https://zola.discourse.group/u/JeffPorter)
#### Post date: [July 14, 2024, 7:09am UTC](https://zola.discourse.group/t/content-for-tag-specific-pages/2218/1 "2024-07-14T07:09:22Z")

</div>

I want to write some content for a tag page, say, /tag/football, where ‘football’ is, for example, the tag I want to write content about, probably by adding the html etc. in a partial. Note: I am not writing about football, just giving this as an example:

```auto
if tag == football

	{% include "partials/football.html" %}

{ endif }

{ else }

{% block content %}

{% block title %}

{{ term.name | capitalize }} &middot; {{ config.title }}

{% endblock title %}  

{{ term.name | capitalize }}

<p class="larger">View all tags.</p>

<ul class="postlist">

{% for page in term.pages | sort(attribute="date") | reverse %}

<li class="postlist-item">

{% if page.date %}

<div class="date">

<time class="postlist-date">{{ page.date | date(format="%d %B %Y") }}</time>

</div>

{% endif %}

<div class="postlist-head">

<h2><a class="postlist-title" href="{{ page.permalink }}">{{ page.title }}</a></h2>

</div>

<p class="postlist-description">{{ page.description }}</p>

</li>

{% endfor %}

</ul>
{% endblock content %}

```

I realise this is simple stuff, but I can’t quite figure it out – reminds me too much of PHP, which I never did quite grasp. Any help is much appreciated!

---

<div class="post-metadata">

### Author: ![JeffPorter](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/jeffporter/32/1250_2.png) [@JeffPorter](https://zola.discourse.group/u/JeffPorter)
#### Post date: [July 14, 2024, 7:37am UTC](https://zola.discourse.group/t/content-for-tag-specific-pages/2218/2 "2024-07-14T07:37:10Z")

</div>

Of course, what might be easier is if I could have a `tag_single_football.html` page, which would negate the need for the `if` statement.
