ce1b32b427
Clicking the link to tag with a space would 404, this adds a hyphen which links to the correct page.
22 lines
766 B
HTML
22 lines
766 B
HTML
<div class="article-info">
|
|
{{ if .Params.date }}
|
|
<div class="article-date">{{ .Params.date.Format "2006-01-02" }}</div>
|
|
{{ end }}
|
|
<div class="article-taxonomies">
|
|
{{ if .Params.categories }}
|
|
<ul class="article-categories">
|
|
{{ range .Params.categories }}
|
|
<li><a href="{{ "categories/" | absURL }}{{ . }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ if .Params.tags }}
|
|
<ul class="article-tags">
|
|
{{ range .Params.tags }}
|
|
<li><a href="{{ "tags/" | absURL }}{{ . | urlize}}">#{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|