Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/item-post.html')
-rw-r--r--layouts/partials/item-post.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/item-post.html b/layouts/partials/item-post.html
index cc289d2..6acd9e2 100644
--- a/layouts/partials/item-post.html
+++ b/layouts/partials/item-post.html
@@ -1,8 +1,8 @@
-<a href="{{- .Permalink }}" class="collection-item" itemprop="url" target="_blank" >
- <time datetime="{{ .Date }}"
- itemprop="datePublished">
- {{ if .Date }}
+<a href="{{- .Permalink }}" class="collection-item" itemprop="url" target="_blank">
+ {{- if .Date }}
+ <time datetime="{{ .Date }}" itemprop="datePublished">
{{- .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }}
- {{ end }}</time>
- <span>&nbsp;&nbsp;&nbsp;</span> {{- .Title }}
+ </time>
+ {{- end }}
+ {{- .Title }}
</a> \ No newline at end of file