aboutsummaryrefslogtreecommitdiff
path: root/layouts/post
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post')
-rw-r--r--layouts/post/single.html8
-rw-r--r--layouts/post/summary.html8
2 files changed, 8 insertions, 8 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 7960c64..3a737d3 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -9,9 +9,9 @@
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
{{ with .Params.categories -}}
<div class="post-category">
- {{ range . -}}
- <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
- {{- end }}
+ {{ range . }}
+ <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
+ {{ end }}
</div>
{{- end }}
{{ if .Site.Params.moreMeta -}}
@@ -63,4 +63,4 @@
</nav>
</footer>
</article>
-{{- end }} \ No newline at end of file
+{{- end }}
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index be4366b..bbebe31 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -6,9 +6,9 @@
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
{{ with .Params.categories -}}
<div class="post-category">
- {{ range . -}}
- <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
- {{- end }}
+ {{ range . }}
+ <a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
+ {{ end }}
</div>
{{- end }}
{{ if .Site.Params.moreMeta -}}
@@ -26,4 +26,4 @@
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
</div>
</div>
-</article> \ No newline at end of file
+</article>