fix(article list): show all categories assigned to a post

This commit is contained in:
Jimmy Cai 2020-08-25 21:15:25 +02:00
parent ff351ab294
commit 415b8a7a0a

View File

@ -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" -}}