mirror of https://github.com/luizdepra/hugo-coder.git

Jens Rantil
23 hours ago 6f9d2c9bc8c15f10cded8fdcaa872800ce9d9c5c
fix taxonomy listing (#1021)

Seems like this is due to the new templating system in Hugo v0.146.0 and
newer. For this theme it looks like a regression from #981.

Fixes #1018.

### Prerequisites

Put an `x` into the box(es) that apply:

- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Makes the tag listing work again. See issue #1018 for details.

### Issues Resolved

Issue #1018.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [x] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2 files renamed
2 ■■■■■ changed files
layouts/_partials/taxonomy.html patch | view | raw | blame | history
layouts/taxonomy.html 2 ●●●●● patch | view | raw | blame | history
layouts/_partials/taxonomy.html
layouts/taxonomy.html
File was renamed from layouts/terms.html
@@ -6,5 +6,5 @@
  {{- i18n (lower .Title) | default .Title | title }} · {{ .Site.Title -}}
{{ end }}
{{ define "content" }}
  {{ partial "terms.html" . }}
  {{ partial "taxonomy.html" . }}
{{ end }}