diff options
Diffstat (limited to 'themes/simple/layouts/_default/list.html')
| -rwxr-xr-x | themes/simple/layouts/_default/list.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 04589cb..2e66b0d 100755 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -10,7 +10,12 @@ | |||
| 10 | {{ range (where .Site.RegularPages "Section" "posts") }} | 10 | {{ range (where .Site.RegularPages "Section" "posts") }} |
| 11 | <li class="mb-5"> | 11 | <li class="mb-5"> |
| 12 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> | 12 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> |
| 13 | <a href="{{.Permalink}}" itemprop="url" class="hover:bg-yellow-100">{{.Title}}</a> | 13 | <a href="/{{.Params.url}}" itemprop="url" class="hover:bg-yellow-100"> |
| 14 | {{ if .Params.draft }} | ||
| 15 | <span class="bg-orange-600 text-white px-1.5">Draft</span> | ||
| 16 | {{ end }} | ||
| 17 | {{.Title}} | ||
| 18 | </a> | ||
| 14 | </li> | 19 | </li> |
| 15 | {{end}} | 20 | {{end}} |
| 16 | </ul> | 21 | </ul> |
