aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/simple/layouts/_default/list.html')
-rwxr-xr-xthemes/simple/layouts/_default/list.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html
index 856abf4..8d72aed 100755
--- a/themes/simple/layouts/_default/list.html
+++ b/themes/simple/layouts/_default/list.html
@@ -9,7 +9,8 @@
9 {{ range (where .Site.RegularPages "Section" "posts") }} 9 {{ range (where .Site.RegularPages "Section" "posts") }}
10 <article class="mb-5" itemscope itemtype="http://schema.org/Article"> 10 <article class="mb-5" itemscope itemtype="http://schema.org/Article">
11 <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> 11 <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time>
12 <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" aria-label="Opens URL"> 12 <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener"
13 aria-label="Opens URL">
13 {{ if .Params.draft }} 14 {{ if .Params.draft }}
14 <span class="bg-orange-600 text-white px-1.5">Draft</span> 15 <span class="bg-orange-600 text-white px-1.5">Draft</span>
15 {{ end }} 16 {{ end }}
@@ -30,4 +31,4 @@
30 {{ partial "openring.html" . }} 31 {{ partial "openring.html" . }}
31 32
32</main> 33</main>
33{{ end }} 34{{ end }} \ No newline at end of file