summaryrefslogtreecommitdiff
path: root/themes/hugo-xmin/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-xmin/layouts/_default')
-rw-r--r--themes/hugo-xmin/layouts/_default/list.html2
-rw-r--r--themes/hugo-xmin/layouts/_default/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/hugo-xmin/layouts/_default/list.html b/themes/hugo-xmin/layouts/_default/list.html
index 351a976..6940251 100644
--- a/themes/hugo-xmin/layouts/_default/list.html
+++ b/themes/hugo-xmin/layouts/_default/list.html
@@ -7,7 +7,7 @@
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
{{ range (where $pages "Section" "!=" "") }}
<li>
- <span class="date">{{ .Date.Format "2006/01/02" }}</span>
+ <span class="date">{{ .Date.Format "01/02/2006" }}</span>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
diff --git a/themes/hugo-xmin/layouts/_default/single.html b/themes/hugo-xmin/layouts/_default/single.html
index 9529765..a9a9f86 100644
--- a/themes/hugo-xmin/layouts/_default/single.html
+++ b/themes/hugo-xmin/layouts/_default/single.html
@@ -2,7 +2,7 @@
<div class="article-meta">
<h1>{{ .Title | markdownify }}</h1>
{{ with .Params.author }}<p class="author">{{ . }}</p>{{ end }}
-{{ if (gt .Params.date 0) }}<p class="date">{{ .Date.Format "2006/01/02" }}</p>{{ end }}
+{{ if (gt .Params.date 0) }}<p class="date">{{ .Date.Format "01/02/2006" }}</p>{{ end }}
</div>
<main class="main">