diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-11-03 20:22:26 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-11-03 20:22:26 +0100 |
| commit | bdc60d7d56b5384f13feaaccef28e63d77f15933 (patch) | |
| tree | 54fe3080ccfe4a41c7a3730464723f593cf5e5a0 /themes/simple/layouts/_default/list.html | |
| parent | a9562e7a600dff4b9380e4527f25ebdaf61a9c54 (diff) | |
| download | mitjafelicijan.com-bdc60d7d56b5384f13feaaccef28e63d77f15933.tar.gz | |
A bunch of fixes for aria and code cleanup
Diffstat (limited to 'themes/simple/layouts/_default/list.html')
| -rwxr-xr-x | themes/simple/layouts/_default/list.html | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 2e66b0d..856abf4 100755 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -1,39 +1,28 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main aria-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 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> |
| 5 | 5 | ||
| 6 | <!-- List of all blog posts --> | 6 | <!-- List of all blog posts --> |
| 7 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> | 7 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12" role="feed"> |
| 8 | <meta itemprop="name" content="Article list"> | 8 | <meta itemprop="name" content="Article list"> |
| 9 | <ul> | 9 | {{ range (where .Site.RegularPages "Section" "posts") }} |
| 10 | {{ range (where .Site.RegularPages "Section" "posts") }} | 10 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> |
| 11 | <li class="mb-5"> | 11 | <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> | 12 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100" rel="bookmark noopener" aria-label="Opens URL"> |
| 13 | <a href="/{{.Params.url}}" itemprop="url" class="hover:bg-yellow-100"> | 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 }} | 16 | {{.Title}} |
| 17 | {{.Title}} | 17 | </a> |
| 18 | </a> | 18 | </article> |
| 19 | </li> | 19 | {{ end }} |
| 20 | {{end}} | ||
| 21 | </ul> | ||
| 22 | </nav> | 20 | </nav> |
| 23 | 21 | ||
| 24 | <hr class="border-2 border-gray-100 mb-10"> | 22 | <hr class="border-2 border-gray-100 mb-10"> |
| 25 | 23 | ||
| 26 | <!-- Projects I work on --> | 24 | <!-- Projects I work on --> |
| 27 | <section class="mb-12"> | 25 | {{ partial "side-projects.html" . }} |
| 28 | <h4 class="text-2xl font-bold mb-6">Side projects I worked on</h4> | ||
| 29 | <ul class="list-disc ml-6"> | ||
| 30 | <li><a href="https://git.mitjafelicijan.com/journalctl-proxy.git/" target="_blank" rel="noopener nofollow" class="hover:bg-yellow-100">journalctl-proxy - Exposes your systemd logs to web via web interface</a></li> | ||
| 31 | <li><a href="https://git.mitjafelicijan.com/redis-marshal.git/" target="_blank" rel="noopener nofollow" class="hover:bg-yellow-100">redis-marshal - Lightweight Redis data exploration tool</a></li> | ||
| 32 | <li><a href="https://git.mitjafelicijan.com/dna-encoding.git/" target="_blank" rel="noopener nofollow" class="hover:bg-yellow-100">dna-encoding - Tools for encoding files to DNA sequence</a></li> | ||
| 33 | <li><a href="https://git.mitjafelicijan.com/vertex.git/" target="_blank" rel="noopener nofollow" class="hover:bg-yellow-100">vertex - Create mock API's and add basic logic to simplify prototyping</a></li> | ||
| 34 | <li><a href="https://git.mitjafelicijan.com/scarecrow.git/" target="_blank" rel="noopener nofollow" class="hover:bg-yellow-100">scarecrow - Minimal configuration reverse proxy</a></li> | ||
| 35 | </ul> | ||
| 36 | </section> | ||
| 37 | 26 | ||
| 38 | <hr class="border-2 border-gray-100 mb-10"> | 27 | <hr class="border-2 border-gray-100 mb-10"> |
| 39 | 28 | ||
