# Is it possible to link taxonomies

**URL:** <https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817>\
**Category:** support\
**Tags:** taxonomy\
**Created:** [December 19, 2024, 10:29pm UTC](https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817 "2024-12-19T22:29:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yarikoptic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarikoptic/32/23567_2.png) [@yarikoptic](https://discourse.gohugo.io/u/yarikoptic)\
**Post date:** [December 19, 2024, 10:29pm UTC](https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817/1 "2024-12-19T22:29:06Z")

</div>

I personally very new to hugo, so please pardon my possible wrongly used terminology etc.

We have a taxonomy of `maintainers` [Maintainers :: DataLad project information site](https://project.datalad.org/maintainers/index.html) . I am thinking to add use of [GitHub - GetRD/academic-file-converter: 📚 Import Bibtex publications and Jupyter Notebook blog posts into your Markdown website or book. 将Bibtex转换为Markdown网站](https://github.com/GetRD/academic-file-converter/) to contain a list of publications imported from bibtex entries. For that one we would define taxonomy of `authors`.

Now, is there an easy way to establish a link that e.g. `maintainers/yarikoptic` is the same as `authors/yaroslav-halchenko` and thus ideally also establish linkage from authors from rendered publications (yet to figure out how to template those 😉 ) to corresponding pages of `maintainers`; and also for each maintainer to associate with publications he/she is listed on?

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 19, 2024, 10:43pm UTC](https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817/2 "2024-12-19T22:43:41Z")

</div>

I’m pretty sure you could use the [related content](https://gohugo.io/content-management/related/) feature to relate these two objects:

```plaintext
maintainers/yarikoptic
authors/yarikoptic

```

And you may be able to relate these as well provided one of the objects references the other in front matter:

```plaintext
maintainers/yarikoptic
authors/yaroslav-halchenko

```

I’ve never tried either, but it makes sense conceptually.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 20, 2024, 12:35am UTC](https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817/3 "2024-12-20T00:35:30Z")

</div>

As I read this again, with a 1:1 relationship between author and maintainer, I think the [`Page.GetPage`](https://gohugo.io/methods/page/getpage/) method would be sufficient to link maintainer-to-author and author-to-maintainer.

```plaintext
[taxonomies]
author = 'authors'
maintainer = 'maintainers'

```

content/authors/yaroslav-halchenko/\_index.md

```plaintext
+++
title = 'Yaroslav Halchenko'
maintainerTerm = 'yarikoptic'
+++

```

content/maintainers/yarikoptic/\_index.md

```plaintext
+++
title = 'Yarikoptic Title Something'
authorTerm = 'yaroslav-halchenko'
+++

```

Try it:

```plaintext
git clone --single-branch -b hugo-forum-topic-52817 https://github.com/jmooring/hugo-testing hugo-forum-topic-52817
cd hugo-forum-topic-52817
hugo server

```

---

<div class="post-metadata">

**Author:** ![yarikoptic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/yarikoptic/32/23567_2.png) [@yarikoptic](https://discourse.gohugo.io/u/yarikoptic)\
**Post date:** [December 20, 2024, 1:03am UTC](https://discourse.gohugo.io/t/is-it-possible-to-link-taxonomies/52817/4 "2024-12-20T01:03:29Z")

</div>

Thank you @jmooring . I think this could work for us. Looking at [this author yaml](https://raw.githubusercontent.com/HugoBlox/theme-research-group/refs/heads/main/content/authors/%E5%90%B3%E6%81%A9%E9%81%94/_index.md) for the [page](https://research-group.netlify.app/author/alice-wu-%E5%90%B3%E6%81%A9%E9%81%94/) may be we should refactor to center around “authors” and define similar `user_groups` instead and assign authors into groups…
