# Solo theme: show multiple tags

**URL:** <https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418>\
**Category:** Themes\
**Created:** [January 24, 2024, 3:18pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418 "2024-01-24T15:18:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![portfolio-maker](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@portfolio-maker](https://forum.ghost.org/u/portfolio-maker)\
**Post date:** [January 24, 2024, 3:18pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/1 "2024-01-24T15:18:52Z")

</div>

I’ve been slightly altering the Solo theme to work as a simple personal portfolio site rather than a blog. I’d like to show multiple tags on posts, not just the first post. Anyone have advice on this?

Ideally I’d also like to show the tags under the post title on my homepage, but that’s less important.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [January 24, 2024, 3:44pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/2 "2024-01-24T15:44:42Z")

</div>

Unlike your other recent posts that can be solved by code injection, this one is going to require editing the theme files.

@RyanF , it would be nice if the Ghost tutorials collected together the introductory bits of editing a theme. They’re all there, but there’s no way to link the collection that I see.

> **[Download and upload a Ghost theme](https://ghost.org/tutorials/download-and-upload-a-theme/)**
>
> With a few clicks in Ghost Admin, you can download a local copy of a theme or upload an entirely new one. Follow our tutorial to learn the steps to take.

> **[Open a Ghost theme in a code editor](https://ghost.org/tutorials/open-a-theme-in-a-code-editor/)**
>
> As the saying goes, use the right tool for the job. If you're editing the code of a Ghost theme that means using a code editor. Follow our tutorial to learn how to open a theme.

I suspect there’s a tutorial that’s sort of “what’s the structure of a theme and where do I look for the thing I want to change?”, but I can’t immediately find it. Short answer: You’re looking for post.hbs for the individual post pages. You’re looking for something related to {{tags}} within that file, or it might pull in a partial (looks like `{{> "partialname"}}` from the partials/ folder.

If there isn’t a tutorial for this already, someone should write one! (Hmm… new blog idea…)

---

<div class="post-metadata">

**Author:** ![RyanF](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ryanf/32/17448_2.png) [@RyanF](https://forum.ghost.org/u/RyanF)\
**Post date:** [January 24, 2024, 4:24pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/3 "2024-01-24T16:24:30Z")

</div>

Thanks, @Cathy_Sarisky, all good points.

I think the closest thing we have to a tutorial that introduces the structure of Ghost themes is this:

> **[Essential concepts to know when building a Ghost theme](https://ghost.org/tutorials/essential-concepts/)**
>
> In this tutorial, learn to wield the powerful Handlebars templating language, unravel the core structure of a theme, and understand the crucial role contexts play in theme development.

---

<div class="post-metadata">

**Author:** ![AnimaVillis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/animavillis/32/27600_2.png) [@AnimaVillis](https://forum.ghost.org/u/AnimaVillis)\
**Post date:** [January 24, 2024, 5:55pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/4 "2024-01-24T17:55:24Z")

</div>

Hello!  
In this case you need to download Your theme.  
Then edit file **loop.hbs**  
Then add under this lane:

```auto
<h2 class="gh-card-title">{{title}}</h2>

```

Somethink like that:

```auto
{{#if tags}}
 {{#foreach tags}}
   <a href="{{url}}" title="{{name}}">{{name}}</a>
 {{/foreach}}
{{/if}}

```

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/e/0/e05dc30b83d5670a0ebc168b0388141160c55365.png)  
That’s give you tags under title, remember that you need to style it! 🙂

Then you need to edit **post.hbs** like @Cathy_Sarisky said and find:

```auto
{{#if primary_tag}}
 <a class="gh-article-tag" href="{{primary_tag.url}}" style="--tag-color: {{primary_tag.accent_color}}">{{primary_tag.name}}</a>
{{/if}}

```

Then edit this like previous:

```auto
{{#if tags}}
                                {{#foreach tags}}
                                    <a href="{{url}}" title="{{name}}" class="gh-article-tag tag tag-{{id}} {{slug}}">{{name}}</a>
                                {{/foreach}}
                            {{/if}}

```

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/b/1/b1381afcfedbb045e35665291bbf53a9223f7001.png)  
Also have on mind that you need to make css style for it ;)

Then make **.zip** file and **upload** theme on Your ghost instance.

---

<div class="post-metadata">

**Author:** ![portfolio-maker](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@portfolio-maker](https://forum.ghost.org/u/portfolio-maker)\
**Post date:** [February 28, 2024, 1:19am UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/5 "2024-02-28T01:19:22Z")

</div>

Thanks! Any ideas on how to show the tags on the homepage as well?

---

<div class="post-metadata">

**Author:** ![portfolio-maker](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@portfolio-maker](https://forum.ghost.org/u/portfolio-maker)\
**Post date:** [February 28, 2024, 1:19am UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/6 "2024-02-28T01:19:50Z")

</div>

Thanks! This is really helpful.

---

<div class="post-metadata">

**Author:** ![john\_fisherman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/john_fisherman/32/35737_2.png) [@john\_fisherman](https://forum.ghost.org/u/john_fisherman)\
**Post date:** [June 18, 2025, 3:10pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/7 "2025-06-18T15:10:49Z")

</div>

Thanks, my client asked me to add this.

What about an update to the solo theme? Can we call the creator here, or is this open-source, or both?

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [June 18, 2025, 6:39pm UTC](https://forum.ghost.org/t/solo-theme-show-multiple-tags/44418/8 "2025-06-18T18:39:17Z")

</div>

Solo is open source (MIT license). It was created by a member of the Ghost Foundation’s team. I doubt he’ll pop up to take your request here, but you can download the theme, make the edits suggested above, and upload your edited copy.
