diff options
Diffstat (limited to 'themes/simple/layouts/_default/list.html')
| -rw-r--r-- | themes/simple/layouts/_default/list.html | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html deleted file mode 100644 index 6362b0f..0000000 --- a/themes/simple/layouts/_default/list.html +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | {{ define "main" }} | ||
| 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> | ||
| 3 | |||
| 4 | <!-- Search modal and results --> | ||
| 5 | {{ partial "search.html" . }} | ||
| 6 | |||
| 7 | <!-- Notes CTA --> | ||
| 8 | <a class="flex items-center gap-2 w-full bg-yellow-200 hover:cursor-pointer rounded mb-8 p-4" href="/notes.html"> | ||
| 9 | <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="hidden lg:block w-6 h-6"> | ||
| 10 | <path stroke-linecap="round" stroke-linejoin="round" d="M12 6.042A8.967 8.967 0 006 3.75c-1.052 0-2.062.18-3 .512v14.25A8.987 8.987 0 016 18c2.305 0 4.408.867 6 2.292m0-14.25a8.966 8.966 0 016-2.292c1.052 0 2.062.18 3 .512v14.25A8.987 8.987 0 0018 18a8.967 8.967 0 00-6 2.292m0-14.25v14.25" /> | ||
| 11 | </svg> | ||
| 12 | <p>For interesting <span span class="italic font-medium">notes</span> and | ||
| 13 | small <span class="italic font-medium">experiments</span> I usually partake | ||
| 14 | in, check the <span class="font-medium">Notes page</span>.</p> | ||
| 15 | </a> | ||
| 16 | |||
| 17 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | ||
| 18 | |||
| 19 | <!-- List of all blog posts --> | ||
| 20 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> | ||
| 21 | <meta itemprop="name" content="Article list"> | ||
| 22 | {{ range (where .Site.RegularPages "Section" "posts") }} | ||
| 23 | <div> | ||
| 24 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> | ||
| 25 | <time class="block text-gray-400 font-medium text-xs mb-1">{{ .Date.Format "Monday Jan 2, 2006" }}</time> | ||
| 26 | <a href="/{{ .Params.url }}" itemprop="url" class="underline" rel="bookmark noopener" aria-label="Opens URL"> | ||
| 27 | {{ if .Params.draft }} | ||
| 28 | <span class="bg-orange-600 text-white px-1.5">Draft</span> | ||
| 29 | {{ end }} | ||
| 30 | {{.Title}} | ||
| 31 | </a> | ||
| 32 | </article> | ||
| 33 | </div> | ||
| 34 | {{ end }} | ||
| 35 | </nav> | ||
| 36 | |||
| 37 | <hr class="border-2 border-gray-100 mb-10"> | ||
| 38 | |||
| 39 | <!-- Projects I work on --> | ||
| 40 | {{ partial "side-projects.html" . }} | ||
| 41 | |||
| 42 | <hr class="border-2 border-gray-100 mb-10"> | ||
| 43 | |||
| 44 | <!-- Openring --> | ||
| 45 | {{ partial "openring.html" . }} | ||
| 46 | |||
| 47 | </main> | ||
| 48 | {{ end }} | ||
