File size: 1,606 Bytes
2f461e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
author : ['Author Name', 'A.N. Other']
title: "Authoring Terms Entry"
description: "How to set the cover and linking of terms entry in Hugo Brewm theme"
date: 2025-02-03
type: post
draft: false
translationKey: terms
coffee: 1
tags: ['authoring', 'cover', 'taxonomy', 'terms']
categories: ['authoring']
---

You can change the cover of each terms entry by adding the `cover` parameter in `_index.md` under `[lang]\[taxonomies]\[terms]\`.
For example, to set the cover of the term `configuration` in categories, add the parameter in `content\en\categories\configuration\_index.md`.

```yaml
---
title: "Configuration"
description: "Configuration description, this might be useful for HTML metadata"
cover: "https://example.com/cover.png"
translationKey: configuration
---

If something is written here, the text will be displayed as hero section.
```

To link the terms entry in another language, you can add the `translationKey` parameter.
For example, if you want to link the terms entry in Indonesian, add the parameter in `content\id\categories\konfigurasi\_index.md`.

```yaml
---
title: "Konfigurasi"
description: "Deskripsi konfigurasi, ini bisa berguna untuk metadata HTML"
cover: "https://example.com/cover.png"
translationKey: configuration
---

Jika ada teks yang ditulis di sini, teks akan ditampilkan sebagai bagian hero.
```

The same way, you can set the cover of each terms entry for `series` and `author` taxonomies.
After making these changes, rebuild your site to see the updated cover and translations in breadcrumbs.
The cover will replace the flowlines images on taxonomies listing.