# \#taxonomy

**URL:** https://discourse.gohugo.io/tag/taxonomy/6.md?match_all_tags=true&page=2&tags%5B%5D=taxonomy

[Latest](https://discourse.gohugo.io/latest.md) · [Categories](https://discourse.gohugo.io/categories.md) · [Tags](https://discourse.gohugo.io/tags.md)

**Page:** 3

---

## [Access taxonomy with slash inside it's name via .Site.Taxonomies](https://discourse.gohugo.io/t/access-taxonomy-with-slash-inside-its-name-via-site-taxonomies/51495)

<div class="topic-metadata">

**Author:** [@zoddberrith](https://discourse.gohugo.io/u/zoddberrith)\
**Replies:** 4\
**Last updated:** [September 11, 2024, 4:43pm UTC](https://discourse.gohugo.io/t/access-taxonomy-with-slash-inside-its-name-via-site-taxonomies/51495 "2024-09-11T16:43:55Z")

</div>

Hello. I have my taxonomies like so: \[taxonomies\] tag = 'tags' movie\_author = 'movies/authors' movie\_genre = 'movies/genres' movie\_year = 'movies/years' movie\_rating = 'movies/ratings' music…

---

## [Announcing: New/Revamped Hugo Calendar Widget](https://discourse.gohugo.io/t/announcing-new-revamped-hugo-calendar-widget/51500)

<div class="topic-metadata">

**Author:** [@VashJuan](https://discourse.gohugo.io/u/VashJuan)\
**Replies:** 0\
**Last updated:** [September 9, 2024, 7:22pm UTC](https://discourse.gohugo.io/t/announcing-new-revamped-hugo-calendar-widget/51500 "2024-09-09T19:22:44Z")

</div>

I’ve just published an initial version of a calendar widget that fits nicely into a sidebar. It shows when your articles, blogs, insights, etc. (anything from a collection) were published in a fairly condensed way. The …

---

## [Indexable page not in sitemap](https://discourse.gohugo.io/t/indexable-page-not-in-sitemap/51414)

<div class="topic-metadata">

**Author:** [@ranklord](https://discourse.gohugo.io/u/ranklord)\
**Replies:** 2\
**Last updated:** [September 3, 2024, 11:39am UTC](https://discourse.gohugo.io/t/indexable-page-not-in-sitemap/51414 "2024-09-03T11:39:09Z")

</div>

Below you can see my sitemap.xml template. {{ printf "\<?xml version=\\"1.0\\" encoding=\\"utf-8\\" standalone=\\"yes\\"?\>" | safeHTML }} \<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www…

---

## [ Issue with GetPage in Production: \_index.md Being Added to URLs](https://discourse.gohugo.io/t/issue-with-getpage-in-production-index-md-being-added-to-urls/51274)

<div class="topic-metadata">

**Author:** [@adeputr4](https://discourse.gohugo.io/u/adeputr4)\
**Replies:** 1\
**Last updated:** [August 24, 2024, 2:25pm UTC](https://discourse.gohugo.io/t/issue-with-getpage-in-production-index-md-being-added-to-urls/51274 "2024-08-24T14:25:01Z")

</div>

Hi everyone, I’m facing an issue with my Hugo site where a piece of code works perfectly in my local environment, but when I deploy it to production, it behaves differently. The code in question is: $.Site.GetPage $c…

---

## [Identify mounted posts in term](https://discourse.gohugo.io/t/identify-mounted-posts-in-term/51179)

<div class="topic-metadata">

**Author:** [@jollyfrog](https://discourse.gohugo.io/u/jollyfrog)\
**Replies:** 6\
**Last updated:** [August 16, 2024, 8:02pm UTC](https://discourse.gohugo.io/t/identify-mounted-posts-in-term/51179 "2024-08-16T20:02:11Z")

</div>

Is it possible to identify/differentiate posts which are mounted from standard posts, within a taxonomy term? Details: I have a section named “cardiff” and a section named “south-wales”. Many of the posts in the secti…

---

## [Restrict taxonomy page list to current value](https://discourse.gohugo.io/t/restrict-taxonomy-page-list-to-current-value/51096)

<div class="topic-metadata">

**Author:** [@phatcher](https://discourse.gohugo.io/u/phatcher)\
**Replies:** 0\
**Last updated:** [August 11, 2024, 5:17pm UTC](https://discourse.gohugo.io/t/restrict-taxonomy-page-list-to-current-value/51096 "2024-08-11T17:17:28Z")

</div>

I am trying to provide a set of links for post series using a taxonomy series. The basics are working, but I can’t get the data selector correct for showing the links in either the page or a widget. In the page I have …

---

## [How to compare the url of the current page and the url of the link](https://discourse.gohugo.io/t/how-to-compare-the-url-of-the-current-page-and-the-url-of-the-link/50953)

<div class="topic-metadata">

**Author:** [@dimalepel](https://discourse.gohugo.io/u/dimalepel)\
**Replies:** 1\
**Last updated:** [August 2, 2024, 10:59am UTC](https://discourse.gohugo.io/t/how-to-compare-the-url-of-the-current-page-and-the-url-of-the-link/50953 "2024-08-02T10:59:27Z")

</div>

I want to create a small filter for a blog and want to display categories in the select tag. I am interested in the question of how to add the selected attribute to the option tag if the address of the current taxonomy m…

---

## [Sorted list of tags](https://discourse.gohugo.io/t/sorted-list-of-tags/50884)

<div class="topic-metadata">

**Author:** [@writeblankspace](https://discourse.gohugo.io/u/writeblankspace)\
**Replies:** 10\
**Last updated:** [July 28, 2024, 10:26am UTC](https://discourse.gohugo.io/t/sorted-list-of-tags/50884 "2024-07-28T10:26:48Z")

</div>

layouts/tags/list.html \<ul\> {{ $taxonomyObject := .Data.Terms }} {{ range $term, $taxonomy := $taxonomyObject }} {{ $count := .Count }} \<li\> \<a href="{{ .Page.RelPermalink }}"\>#{{ $term }}\</a\> ({{ $…

---

## [Display the description of a tag in single.html](https://discourse.gohugo.io/t/display-the-description-of-a-tag-in-single-html/50890)

<div class="topic-metadata">

**Author:** [@Cassie](https://discourse.gohugo.io/u/Cassie)\
**Replies:** 1\
**Last updated:** [July 27, 2024, 4:08am UTC](https://discourse.gohugo.io/t/display-the-description-of-a-tag-in-single-html/50890 "2024-07-27T04:08:56Z")

</div>

Using this post as a reference, I’ve added a description for a custom taxonomy. It works as expected. I’m referencing the custom taxonomy (called ‘nys’) on single.html, like so: \<ul id="nys"\> {{ range .Params.nys }…

---

## [How to get posts by their titles in an array?](https://discourse.gohugo.io/t/how-to-get-posts-by-their-titles-in-an-array/50875)

<div class="topic-metadata">

**Author:** [@dimalepel](https://discourse.gohugo.io/u/dimalepel)\
**Replies:** 3\
**Last updated:** [July 26, 2024, 6:28pm UTC](https://discourse.gohugo.io/t/how-to-get-posts-by-their-titles-in-an-array/50875 "2024-07-26T18:28:00Z")

</div>

Hi. I am creating a blog on HUGO and I need your help to implement a feature. For each post I will have a list of post titles related: \["Title One", "Title Two", "Title Three"\] How to get records in a loop whose titles…

---

## [Extracting tags from \`site.Data.$files\`. (help with go-template lang)](https://discourse.gohugo.io/t/extracting-tags-from-site-data-files-help-with-go-template-lang/50794)

<div class="topic-metadata">

**Author:** [@anoduck](https://discourse.gohugo.io/u/anoduck)\
**Replies:** 6\
**Last updated:** [July 22, 2024, 12:04am UTC](https://discourse.gohugo.io/t/extracting-tags-from-site-data-files-help-with-go-template-lang/50794 "2024-07-22T00:04:50Z")

</div>

Tags from site data files Mostly, just need help with the go-templating language syntax, because go-html does not have a for statement for iteration, and range is just weird. Awk has one, so why not go? But mostly, I co…

---

## [How to get tags in original case?](https://discourse.gohugo.io/t/how-to-get-tags-in-original-case/50724)

<div class="topic-metadata">

**Author:** [@cmahnke](https://discourse.gohugo.io/u/cmahnke)\
**Replies:** 8\
**Last updated:** [July 17, 2024, 12:10pm UTC](https://discourse.gohugo.io/t/how-to-get-tags-in-original-case/50724 "2024-07-17T12:10:13Z")

</div>

I have tags in my frontmatter, of which I use for i18n, those are in camel case, while I use others without any translations, some of them are capitalized, because they are abbreviations. Example: tags: - digitalIma…

---

## [Custom taxonomy does not honor with template taxonomy.html or terms.html but works with list.html](https://discourse.gohugo.io/t/custom-taxonomy-does-not-honor-with-template-taxonomy-html-or-terms-html-but-works-with-list-html/50658)

<div class="topic-metadata">

**Author:** [@shankar](https://discourse.gohugo.io/u/shankar)\
**Replies:** 4\
**Last updated:** [July 12, 2024, 5:12pm UTC](https://discourse.gohugo.io/t/custom-taxonomy-does-not-honor-with-template-taxonomy-html-or-terms-html-but-works-with-list-html/50658 "2024-07-12T17:12:55Z")

</div>

My code repository is in https://github.com/shankar/monolog. I created custom taxonomy author = "authors" and the taxonomy page does not work with layout/authors/taxonomy.html nor the taxonomy term page work with layout…

---

## [GetTerms getting slows as the content grows](https://discourse.gohugo.io/t/getterms-getting-slows-as-the-content-grows/50332)

<div class="topic-metadata">

**Author:** [@razon](https://discourse.gohugo.io/u/razon)\
**Replies:** 7\
**Last updated:** [June 21, 2024, 3:28pm UTC](https://discourse.gohugo.io/t/getterms-getting-slows-as-the-content-grows/50332 "2024-06-21T15:28:00Z")

</div>

Hi, I noticed that the GetTerms may get slow if there are a lot of taxonomies, am I doing something wrong? Is there any improvement suggestions? Thanks. Details // layouts/\_default/single.html {{- $page := . }} {{ $t :…

---

## [Custom category permalink?](https://discourse.gohugo.io/t/custom-category-permalink/50330)

<div class="topic-metadata">

**Author:** [@Ipan\_Soepandi](https://discourse.gohugo.io/u/Ipan_Soepandi)\
**Replies:** 3\
**Last updated:** [June 18, 2024, 12:24pm UTC](https://discourse.gohugo.io/t/custom-category-permalink/50330 "2024-06-18T12:24:33Z")

</div>

Hi everyone, I’m currently trying to host a blog using GitHub Pages and I’ve uploaded it to my GitHub page, but I have an issue that requires assistance. My problem lies in the article category section. I have categori…

---

## [Can default taxonomy destinations be disabled?](https://discourse.gohugo.io/t/can-default-taxonomy-destinations-be-disabled/50326)

<div class="topic-metadata">

**Author:** [@will](https://discourse.gohugo.io/u/will)\
**Replies:** 11\
**Last updated:** [June 18, 2024, 6:29am UTC](https://discourse.gohugo.io/t/can-default-taxonomy-destinations-be-disabled/50326 "2024-06-18T06:29:18Z")

</div>

From Taxonomies | Hugo : Default destinations When taxonomies are used—and taxonomy templates are provided—Hugo will automatically create both a page listing all the taxonomy’s terms and individual pages with lists of …

---

## [Granular Output Configuration](https://discourse.gohugo.io/t/granular-output-configuration/50255)

<div class="topic-metadata">

**Author:** [@njbair](https://discourse.gohugo.io/u/njbair)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 3:35pm UTC](https://discourse.gohugo.io/t/granular-output-configuration/50255 "2024-06-12T15:35:51Z")

</div>

Did you know you can disable rendering of taxonomy/term pages by simply creating an empty layout file? I discovered this lifesaver after trying and failing to find a configuration-based approach. Since Google came up dr…

---

## [Adding taxonomy config breaks list.html](https://discourse.gohugo.io/t/adding-taxonomy-config-breaks-list-html/50199)

<div class="topic-metadata">

**Author:** [@fabiodcorreia](https://discourse.gohugo.io/u/fabiodcorreia)\
**Replies:** 3\
**Last updated:** [June 8, 2024, 9:28am UTC](https://discourse.gohugo.io/t/adding-taxonomy-config-breaks-list-html/50199 "2024-06-08T09:28:13Z")

</div>

Hi, I have the following content structure /content/ebooks/ /content/ebooks/ebook-1/ /content/ebooks/ebook-1/cover.jpg /content/ebooks/ebook-1/\_index.md .. /content/ebooks/ebook-9/ /content/ebooks/ebook-9/cover.jpg /con…

---

## [Associate a description with a tag](https://discourse.gohugo.io/t/associate-a-description-with-a-tag/50112)

<div class="topic-metadata">

**Author:** [@mesh2325](https://discourse.gohugo.io/u/mesh2325)\
**Replies:** 4\
**Last updated:** [June 1, 2024, 10:23pm UTC](https://discourse.gohugo.io/t/associate-a-description-with-a-tag/50112 "2024-06-01T22:23:38Z")

</div>

Is there a way to associate a description with a specific tag? Basically, on the tag list page, I want to show the tag name and tag description. I saw this post: https://discourse.gohugo.io/t/add-description-to-taxonom…

---

## [Images are not displayed](https://discourse.gohugo.io/t/images-are-not-displayed/50070)

<div class="topic-metadata">

**Author:** [@Vi\_Hoang\_B\_o](https://discourse.gohugo.io/u/Vi_Hoang_B_o)\
**Replies:** 5\
**Last updated:** [May 30, 2024, 2:27pm UTC](https://discourse.gohugo.io/t/images-are-not-displayed/50070 "2024-05-30T14:27:45Z")

</div>

Hi everyone ! I just deployed my new Hugo page. But I suddenly discovered a problem: the photos are not displayed (I used folder 1337 as an example, I moved the other photo folders out).I checked the path of both the log…

---

## [How can I exclude certain categories from the homepage?](https://discourse.gohugo.io/t/how-can-i-exclude-certain-categories-from-the-homepage/50046)

<div class="topic-metadata">

**Author:** [@hyruo](https://discourse.gohugo.io/u/hyruo)\
**Replies:** 5\
**Last updated:** [May 28, 2024, 7:44am UTC](https://discourse.gohugo.io/t/how-can-i-exclude-certain-categories-from-the-homepage/50046 "2024-05-28T07:44:08Z")

</div>

Hello everyone! I am in the process of migrating my blog from WordPress to Hugo, and I’ve encountered an issue. I am using the hugo-theme-stack theme, and I want to exclude articles from two categories from appearing on…

---

## [Filtering posts by subfolder and via Javascript at the same time](https://discourse.gohugo.io/t/filtering-posts-by-subfolder-and-via-javascript-at-the-same-time/50020)

<div class="topic-metadata">

**Author:** [@smrpr](https://discourse.gohugo.io/u/smrpr)\
**Replies:** 7\
**Last updated:** [May 26, 2024, 8:14pm UTC](https://discourse.gohugo.io/t/filtering-posts-by-subfolder-and-via-javascript-at-the-same-time/50020 "2024-05-26T20:14:27Z")

</div>

Hello, my use case is a bit special. I want to create a car registry and have some simple filters in it. I would like that when a user goes to /cars, all of the cars are shown (this is working now). But I would also li…

---

## [Want to keep Categories page but want to disable Tags Page](https://discourse.gohugo.io/t/want-to-keep-categories-page-but-want-to-disable-tags-page/49974)

<div class="topic-metadata">

**Author:** [@pranavdhawale](https://discourse.gohugo.io/u/pranavdhawale)\
**Replies:** 4\
**Last updated:** [May 26, 2024, 1:26pm UTC](https://discourse.gohugo.io/t/want-to-keep-categories-page-but-want-to-disable-tags-page/49974 "2024-05-26T13:26:59Z")

</div>

Hey There! I am building my blog site using HUGO theme Doks. Categories and Tags page are generated by default, but i want to remove the tags page Eg. I want to remove website\_name/tags but i want to keep website\_name…

---

## [Get category name from content folder](https://discourse.gohugo.io/t/get-category-name-from-content-folder/49892)

<div class="topic-metadata">

**Author:** [@Vladimir\_dev](https://discourse.gohugo.io/u/Vladimir_dev)\
**Replies:** 8\
**Last updated:** [May 19, 2024, 2:29pm UTC](https://discourse.gohugo.io/t/get-category-name-from-content-folder/49892 "2024-05-19T14:29:39Z")

</div>

Hello, I am in the process of creating my theme. The content is created according to the following scheme: |- content |— example/2024/05/19/article\_name ← content section name/category |------index.en.md |------inde…

---

## [Iterate thru all assets across multiple list pages](https://discourse.gohugo.io/t/iterate-thru-all-assets-across-multiple-list-pages/49632)

<div class="topic-metadata">

**Author:** [@Luke\_Jaeger](https://discourse.gohugo.io/u/Luke_Jaeger)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 11:45am UTC](https://discourse.gohugo.io/t/iterate-thru-all-assets-across-multiple-list-pages/49632 "2024-05-09T11:45:47Z")

</div>

Hello! I have a custom template with a few small issues. The dev who built the template did a great job but unfortunately has dropped out of communication. I’m not a Hugo expert but I have a good grasp of html and I’m …

---

## [{{.Params.value}} not working inside the range](https://discourse.gohugo.io/t/params-value-not-working-inside-the-range/49068)

<div class="topic-metadata">

**Author:** [@Pon\_Ranjith\_Kodiyara](https://discourse.gohugo.io/u/Pon_Ranjith_Kodiyara)\
**Replies:** 5\
**Last updated:** [March 28, 2024, 10:06am UTC](https://discourse.gohugo.io/t/params-value-not-working-inside-the-range/49068 "2024-03-28T10:06:12Z")

</div>

I don’t know the reason why {{.Params.value}} is not working inside the range Here the example --- title: "Some File" url: /some-file author: "Rahul" breadcrumbs: - name: "Trail #1" url: "/url-for-trail-1" - name:…

---

## [What can cause infinite recursion? Can dumping taxonomies cause it?](https://discourse.gohugo.io/t/what-can-cause-infinite-recursion-can-dumping-taxonomies-cause-it/49029)

<div class="topic-metadata">

**Author:** [@ctmbl](https://discourse.gohugo.io/u/ctmbl)\
**Replies:** 5\
**Last updated:** [March 28, 2024, 9:03am UTC](https://discourse.gohugo.io/t/what-can-cause-infinite-recursion-can-dumping-taxonomies-cause-it/49029 "2024-03-28T09:03:53Z")

</div>

Hi everyone, I started digging into HUGO recently so sorry if my question seems obvious (:sweat\_smile: ) or if it has already been answered (I’ve searched the forum first ofc). I’ve been trying to modify a theme to add…

---

## [Edit /tags/ page without affecting /tags/\*](https://discourse.gohugo.io/t/edit-tags-page-without-affecting-tags/48820)

<div class="topic-metadata">

**Author:** [@asterling](https://discourse.gohugo.io/u/asterling)\
**Replies:** 11\
**Last updated:** [March 14, 2024, 7:08pm UTC](https://discourse.gohugo.io/t/edit-tags-page-without-affecting-tags/48820 "2024-03-14T19:08:45Z")

</div>

Hi there. I’m trying to configure the main tags list page, but without changing the subsequent tag list pages. In other words, I want to change /tags/ only, not /tags/\*. My issue is that when I edit /layouts/tags/list.h…

---

## [Intersect 2 term lists broken in 0.123.0 onwards](https://discourse.gohugo.io/t/intersect-2-term-lists-broken-in-0-123-0-onwards/48765)

<div class="topic-metadata">

**Author:** [@jzeneto](https://discourse.gohugo.io/u/jzeneto)\
**Replies:** 3\
**Last updated:** [March 14, 2024, 7:07pm UTC](https://discourse.gohugo.io/t/intersect-2-term-lists-broken-in-0-123-0-onwards/48765 "2024-03-14T19:07:36Z")

</div>

Doing an intersect in a term list page, between that term’s list of pages and another taxonomy’s list pages, is broken since version 0.123.0. The code below, when at layouts/term/list.html, works in version 0.122.0 but d…

---

## [Term pages get .Date from first page in list in 0.123.8](https://discourse.gohugo.io/t/term-pages-get-date-from-first-page-in-list-in-0-123-8/48828)

<div class="topic-metadata">

**Author:** [@jzeneto](https://discourse.gohugo.io/u/jzeneto)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 3:59pm UTC](https://discourse.gohugo.io/t/term-pages-get-date-from-first-page-in-list-in-0-123-8/48828 "2024-03-14T15:59:58Z")

</div>

With 0.123.8 (perhaps since 0.123.0, but I didn’t test it), term pages get a .Date from its first page. I don’t think this is correct, because it doesn’t make sense to assign a date to a term page. You can reproduce it …

[Previous page](https://discourse.gohugo.io/tag/taxonomy/6.md?match_all_tags=true&page=1&tags%5B%5D=taxonomy)

[Next page](https://discourse.gohugo.io/tag/taxonomy/6.md?match_all_tags=true&page=3&tags%5B%5D=taxonomy)
