diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 20:25:40 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-05 20:25:40 +0200 |
| commit | 1614154f1e44859b4b413cbe458cd4da5dd4d82a (patch) | |
| tree | 39fa705747361261c22d89920b0fc537fdf15f8a | |
| parent | 7d4a696a70969b82a55715221b85700a1e68d140 (diff) | |
| download | gohugo-theme-ed-1614154f1e44859b4b413cbe458cd4da5dd4d82a.tar.gz | |
Fix tags html layout
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | layouts/partials/post-tags.html | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c83447a..7d1942f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Rework post dates format. Now they prefixes with "Published on" and "Updated on" - Rework single post layouts. Reduce the number of layouts for poems, dramas, narratives and posts to one +### Fixed + +- Fix tags html layout + ## [v0.3.0](https://github.com/sergeyklay/gohugo-theme-ed/compare/v0.2.0...v0.3.0) ### Added diff --git a/layouts/partials/post-tags.html b/layouts/partials/post-tags.html index 1fa1c96..58cf8db 100644 --- a/layouts/partials/post-tags.html +++ b/layouts/partials/post-tags.html @@ -2,8 +2,10 @@ <ul class="post-tags"> {{ range $index, $name := sort $tags -}} - <a href="{{ (printf "/tags/%s/" $name) | urlize }}"> - {{ $name | markdownify }} - </a> + <li> + <a href="{{ (printf "/tags/%s/" $name) | urlize }}"> + {{ $name | markdownify }} + </a> + </li> {{ end }} </ul> |
