mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
fix(article list): show all categories assigned to a post
This commit is contained in:
parent
ff351ab294
commit
415b8a7a0a
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
<div class="article-details">
|
<div class="article-details">
|
||||||
{{ with $categories := .Params.categories }}
|
{{ with $categories := .Params.categories }}
|
||||||
<header class="article-category">
|
<header class="article-category">
|
||||||
{{ range first 1 $categories }}
|
{{ range $categories }}
|
||||||
{{ if $i }}
|
{{ if $i }}
|
||||||
{{- $image := partial "helper/image" $context -}}
|
{{- $image := partial "helper/image" $context -}}
|
||||||
{{- $20x := $image.Fill "20x20 smart" -}}
|
{{- $20x := $image.Fill "20x20 smart" -}}
|
||||||
|
|
Loading…
Reference in a new issue