diff options
Diffstat (limited to 'themes/simple')
| -rwxr-xr-x | themes/simple/layouts/_default/list.html | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index e964c37..28be17d 100755 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -1,31 +1,24 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> | 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <!-- Plan9 microblog promotion link card --> | ||
| 5 | <a class="block rounded bg-yellow-300 hover:bg-yellow-400 mb-10 px-4 py-3 flex gap-4 items-center" href="https://bakingonagrill.com" target="_blank" title="Baking on a Grill, Plan9 experiments"> | ||
| 6 | <img class="h-12" src="/general/9logo.png" alt="Plan9 Logo"> | ||
| 7 | <div> | ||
| 8 | <p class="font-semibold">Baking on a Grill</p> | ||
| 9 | <p class="text-sm">Experiments about/with Plan9 OS, other silly things and storage of random files.</p> | ||
| 10 | </div> | ||
| 11 | </a> | ||
| 12 | |||
| 13 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> |
| 14 | 5 | ||
| 15 | <!-- List of all blog posts --> | 6 | <!-- List of all blog posts --> |
| 16 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> | 7 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> |
| 17 | <meta itemprop="name" content="Article list"> | 8 | <meta itemprop="name" content="Article list"> |
| 18 | {{ range (where .Site.RegularPages "Section" "posts") }} | 9 | {{ range (where .Site.RegularPages "Section" "posts") }} |
| 19 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> | 10 | <div> |
| 20 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> | 11 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> |
| 21 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" | 12 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> |
| 22 | aria-label="Opens URL"> | 13 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" |
| 23 | {{ if .Params.draft }} | 14 | aria-label="Opens URL"> |
| 24 | <span class="bg-orange-600 text-white px-1.5">Draft</span> | 15 | {{ if .Params.draft }} |
| 25 | {{ end }} | 16 | <span class="bg-orange-600 text-white px-1.5">Draft</span> |
| 26 | {{.Title}} | 17 | {{ end }} |
| 27 | </a> | 18 | {{.Title}} |
| 28 | </article> | 19 | </a> |
| 20 | </article> | ||
| 21 | </div> | ||
| 29 | {{ end }} | 22 | {{ end }} |
| 30 | </nav> | 23 | </nav> |
| 31 | 24 | ||
