changes comma in Categories to dot

This commit is contained in:
Huy Tran 2018-07-23 14:00:54 +10:00
parent a5db114d7f
commit 5ecdfb0e28

View file

@ -12,7 +12,7 @@
{{- $total := sub $total 1 -}}
{{- range $i, $cat := sort . }}
<a class="post__category" href="{{ "/categories/" | relURL }}{{ $cat | urlize }}">{{ $cat | upper }}</a>
{{ if lt $i $total }},{{ end }}
{{ if lt $i $total }}{{ end }}
{{- end -}}
{{- end -}}
{{- end -}}