fix(article list): show all categories assigned to a post
This commit is contained in:
parent
ff351ab294
commit
415b8a7a0a
@ -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 New Issue
Block a user