diff options
Diffstat (limited to 'themes/simple')
| -rw-r--r-- | themes/simple/layouts/_default/list.html | 4 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/notes.html | 4 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/comments.html | 4 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/navigation.html | 16 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/read-more.html | 12 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/side-projects.html | 71 | ||||
| -rw-r--r-- | themes/simple/layouts/tags/list.html | 2 | ||||
| -rw-r--r-- | themes/simple/openring/openring.html | 10 | ||||
| -rw-r--r-- | themes/simple/static/css/tailwind.css | 10 |
9 files changed, 70 insertions, 63 deletions
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index f92d9c0..6362b0f 100644 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -22,8 +22,8 @@ | |||
| 22 | {{ range (where .Site.RegularPages "Section" "posts") }} | 22 | {{ range (where .Site.RegularPages "Section" "posts") }} |
| 23 | <div> | 23 | <div> |
| 24 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> | 24 | <article class="mb-5" itemscope itemtype="http://schema.org/Article"> |
| 25 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Monday Jan 2, 2006" }}</time> | 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="hover:bg-yellow-100" rel="bookmark noopener" aria-label="Opens URL"> | 26 | <a href="/{{ .Params.url }}" itemprop="url" class="underline" rel="bookmark noopener" aria-label="Opens URL"> |
| 27 | {{ if .Params.draft }} | 27 | {{ if .Params.draft }} |
| 28 | <span class="bg-orange-600 text-white px-1.5">Draft</span> | 28 | <span class="bg-orange-600 text-white px-1.5">Draft</span> |
| 29 | {{ end }} | 29 | {{ end }} |
diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html index 02560b0..f624814 100644 --- a/themes/simple/layouts/_default/notes.html +++ b/themes/simple/layouts/_default/notes.html | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | <p class="text-gray-600 italic"> | 9 | <p class="text-gray-600 italic"> |
| 10 | Notes about things I learn, things I do, things I want to remember, | 10 | Notes about things I learn, things I do, things I want to remember, |
| 11 | but never do. You can subscribe to this | 11 | but never do. You can subscribe to this |
| 12 | <a href="/notes/index.xml" class="underline hover:bg-yellow-100">RSS feed</a> | 12 | <a href="/notes/index.xml" class="underline">RSS feed</a> |
| 13 | which contains only the notes without the blog posts. | 13 | which contains only the notes without the blog posts. |
| 14 | </p> | 14 | </p> |
| 15 | </section> | 15 | </section> |
| @@ -28,7 +28,7 @@ | |||
| 28 | <ul class="flex flex-wrap gap-2"> | 28 | <ul class="flex flex-wrap gap-2"> |
| 29 | {{ range .Site.Taxonomies.tags }} | 29 | {{ range .Site.Taxonomies.tags }} |
| 30 | <li> | 30 | <li> |
| 31 | <a href="{{ .Page.Permalink }}" class="inline-block px-3 py-1 rounded bg-gray-100 hover:bg-yellow-100"> | 31 | <a href="{{ .Page.Permalink }}" class="inline-block px-3 py-1 rounded bg-gray-100 hover:bg-yellow-200"> |
| 32 | {{ .Page.Title }} | 32 | {{ .Page.Title }} |
| 33 | </a> | 33 | </a> |
| 34 | </li> | 34 | </li> |
diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html index c87f1c6..50c28ca 100644 --- a/themes/simple/layouts/partials/comments.html +++ b/themes/simple/layouts/partials/comments.html | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | <p class="mb-10"> | 4 | <p class="mb-10"> |
| 5 | You can write me an email at | 5 | You can write me an email at |
| 6 | <a href="mailto:m@mitjafelicijan.com" class="underline-offset-2 underline hover:bg-yellow-100">m@mitjafelicijan.com</a> or catch up with me | 6 | <a href="mailto:m@mitjafelicijan.com" class="underline-offset-2 underline">m@mitjafelicijan.com</a> or catch up with me |
| 7 | <a href="https://telegram.me/mitjafelicijan" target="_blank" class="underline-offset-2 underline hover:bg-yellow-100">on Telegram</a>. | 7 | <a href="https://telegram.me/mitjafelicijan" target="_blank" class="underline-offset-2 underline">on Telegram</a>. |
| 8 | </p> | 8 | </p> |
| 9 | </section> | 9 | </section> |
diff --git a/themes/simple/layouts/partials/navigation.html b/themes/simple/layouts/partials/navigation.html index 44c6059..9c13fe5 100644 --- a/themes/simple/layouts/partials/navigation.html +++ b/themes/simple/layouts/partials/navigation.html | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <div class="container-blog mx-auto px-6 md:p-0"> | 1 | <div class="container-blog mx-auto px-6 md:p-0"> |
| 2 | <header class="flex py-4 mt-4 mb-8 flex-col md:flex-row items-center "> | 2 | <header class="flex py-4 mt-4 mb-8 flex-col md:flex-row items-center "> |
| 3 | <div class="flex-grow mb-2 md:mb-0"> | 3 | <div class="flex-grow mb-2 md:mb-0"> |
| 4 | <a href="/" itemprop="url" class="text-xl font-semibold hover:bg-yellow-100">Mitja Felicijan</a> | 4 | <a href="/" itemprop="url" class="text-xl font-semibold hover:underline">Mitja Felicijan</a> |
| 5 | </div> | 5 | </div> |
| 6 | 6 | ||
| 7 | <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="flex items-center gap-1" role="toolbar"> | 7 | <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="flex items-center gap-1" role="toolbar"> |
| @@ -17,13 +17,13 @@ | |||
| 17 | </span> | 17 | </span> |
| 18 | </span> | 18 | </span> |
| 19 | 19 | ||
| 20 | <a href="/notes.html" class="font-medium px-2 hover:bg-yellow-100">Notes</a> | 20 | <a href="/notes.html" class="font-medium px-2 hover:bg-yellow-200 rounded">Notes</a> |
| 21 | <a href="https://telegram.me/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Telegram</a> | 21 | <a href="https://telegram.me/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 rounded">Telegram</a> |
| 22 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Git</a> | 22 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 rounded">Git</a> |
| 23 | <a href="https://files.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100 hidden md:block">Files</a> | 23 | <a href="https://files.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 rounded hidden md:block">Files</a> |
| 24 | <a href="/mitjafelicijan.gpg.pub.txt" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">GPG</a> | 24 | <a href="/mitjafelicijan.gpg.pub.txt" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 rounded">GPG</a> |
| 25 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-100">CV</a> | 25 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-200 rounded">CV</a> |
| 26 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-100 hidden md:block">RSS</a> | 26 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-200 rounded hidden md:block">RSS</a> |
| 27 | </nav> | 27 | </nav> |
| 28 | </header> | 28 | </header> |
| 29 | </div> | 29 | </div> |
diff --git a/themes/simple/layouts/partials/read-more.html b/themes/simple/layouts/partials/read-more.html index a238017..9de1554 100644 --- a/themes/simple/layouts/partials/read-more.html +++ b/themes/simple/layouts/partials/read-more.html | |||
| @@ -2,15 +2,15 @@ | |||
| 2 | <h2 class="text-2xl font-bold mb-6">Read more from this site</h2> | 2 | <h2 class="text-2xl font-bold mb-6">Read more from this site</h2> |
| 3 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> | 3 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> |
| 4 | <meta itemprop="name" content="Article list"> | 4 | <meta itemprop="name" content="Article list"> |
| 5 | <ul> | 5 | <nav class="flex flex-col gap-4"> |
| 6 | {{ $randomPosts := shuffle (where .Site.RegularPages "Type" "posts") | first 5 }} | 6 | {{ $randomPosts := shuffle (where .Site.RegularPages "Type" "posts") | first 5 }} |
| 7 | {{ range $randomPosts }} | 7 | {{ range $randomPosts }} |
| 8 | <li class="mb-6"> | 8 | <div> |
| 9 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> | 9 | <time class="block text-gray-400 font-medium text-xs">{{ .Date.Format "Mon Jan 2, 2006" }}</time> |
| 10 | <a href="/{{ .Params.url }}" itemprop="url" class="hover:bg-yellow-100 font-medium">{{ .Title }}</a> | 10 | <a href="/{{ .Params.url }}" itemprop="url" class="block underline font-medium mb-1">{{ .Title }}</a> |
| 11 | <p class="text-gray-600 text-sm">{{ .Summary }}</p> | 11 | <p class="text-gray-600 text-sm">{{ .Summary }}</p> |
| 12 | </li> | 12 | </div> |
| 13 | {{ end }} | 13 | {{ end }} |
| 14 | </ul> | 14 | </nav> |
| 15 | </nav> | 15 | </nav> |
| 16 | </section> \ No newline at end of file | 16 | </section> |
diff --git a/themes/simple/layouts/partials/side-projects.html b/themes/simple/layouts/partials/side-projects.html index f675803..a2256e7 100644 --- a/themes/simple/layouts/partials/side-projects.html +++ b/themes/simple/layouts/partials/side-projects.html | |||
| @@ -1,33 +1,40 @@ | |||
| 1 | <section class="mb-12"> | 1 | <section class="mb-12"> |
| 2 | <h2 class="text-2xl font-bold mb-6">Side projects I worked on</h2> | 2 | <h2 class="text-2xl font-bold mb-6">Side projects I work/worked on</h2> |
| 3 | <ul class="list-disc ml-6"> | 3 | |
| 4 | <li> | 4 | <nav class="flex flex-col gap-4 md:gap-0 md:border w-full mb-4"> |
| 5 | <a href="https://git.mitjafelicijan.com/cord.h.git/" target="_blank" rel="noopener nofollow" | 5 | <a href="https://git.mitjafelicijan.com/cord.h.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 6 | class="hover:bg-yellow-100">cord.h - Small C library for handling strings</a> | 6 | <span class="inline-block md:w-40 underline">cord.h</span> |
| 7 | </li> | 7 | <span>Small C library for handling strings</span> |
| 8 | <li> | 8 | </a> |
| 9 | <a href="https://git.mitjafelicijan.com/mprogress.git/" target="_blank" rel="noopener nofollow" | 9 | <a href="https://git.mitjafelicijan.com/mprogress.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 10 | class="hover:bg-yellow-100">mprogress - Tiny utility that displays progress bar in terminal</a> | 10 | <span class="inline-block md:w-40 underline">mprogress</span> |
| 11 | </li> | 11 | <span>Tiny utility that displays progress bar in terminal</span> |
| 12 | <li> | 12 | </a> |
| 13 | <a href="https://git.mitjafelicijan.com/journalctl-proxy.git/" target="_blank" rel="noopener nofollow" | 13 | <a href="https://git.mitjafelicijan.com/journalctl-proxy.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 14 | class="hover:bg-yellow-100">journalctl-proxy - Exposes your systemd logs to web via web interface</a> | 14 | <span class="inline-block md:w-40 underline">journalctl-proxy</span> |
| 15 | </li> | 15 | <span>Exposes your systemd logs to web via web interface</span> |
| 16 | <li> | 16 | </a> |
| 17 | <a href="https://git.mitjafelicijan.com/redis-marshal.git/" target="_blank" rel="noopener nofollow" | 17 | <a href="https://git.mitjafelicijan.com/redis-marshal.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 18 | class="hover:bg-yellow-100">redis-marshal - Lightweight Redis data exploration tool</a> | 18 | <span class="inline-block md:w-40 underline">redis-marshal</span> |
| 19 | </li> | 19 | <span>Lightweight Redis data exploration tool</span> |
| 20 | <li> | 20 | </a> |
| 21 | <a href="https://git.mitjafelicijan.com/dna-encoding.git/" target="_blank" rel="noopener nofollow" | 21 | <a href="https://git.mitjafelicijan.com/dna-encoding.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 22 | class="hover:bg-yellow-100">dna-encoding - Tools for encoding files to DNA sequence</a> | 22 | <span class="inline-block md:w-40 underline">dna-encoding</span> |
| 23 | </li> | 23 | <span>Tools for encoding files to DNA sequence</span> |
| 24 | <li> | 24 | </a> |
| 25 | <a href="https://git.mitjafelicijan.com/vertex.git/" target="_blank" rel="noopener nofollow" | 25 | <a href="https://git.mitjafelicijan.com/vertex.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200 md:border-b"> |
| 26 | class="hover:bg-yellow-100">vertex - Create mock API's and add basic logic to simplify prototyping</a> | 26 | <span class="inline-block md:w-40 underline">vertex</span> |
| 27 | </li> | 27 | <span>Create mock API's and add basic logic to simplify prototyping</span> |
| 28 | <li> | 28 | </a> |
| 29 | <a href="https://git.mitjafelicijan.com/scarecrow.git/" target="_blank" rel="noopener nofollow" | 29 | <a href="https://git.mitjafelicijan.com/scarecrow.git/" target="_blank" rel="noopener nofollow" class="block md:p-3 hover:bg-yellow-200"> |
| 30 | class="hover:bg-yellow-100">scarecrow - Minimal configuration reverse proxy</a> | 30 | <span class="inline-block md:w-40 underline">scarecrow</span> |
| 31 | </li> | 31 | <span>Minimal configuration reverse proxy</span> |
| 32 | </ul> | 32 | </a> |
| 33 | </section> \ No newline at end of file | 33 | </nav> |
| 34 | |||
| 35 | <p class="text-gray-500 italic">* For more projects, check out | ||
| 36 | my <a href="https://git.mitjafelicijan.com/" class="underline">Git | ||
| 37 | server</a>. Most of the projects there are probably work in progress and | ||
| 38 | should be considered as such.</p> | ||
| 39 | |||
| 40 | </section> | ||
diff --git a/themes/simple/layouts/tags/list.html b/themes/simple/layouts/tags/list.html index 7917301..bd3bd57 100644 --- a/themes/simple/layouts/tags/list.html +++ b/themes/simple/layouts/tags/list.html | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | <p class="text-gray-600 italic"> | 15 | <p class="text-gray-600 italic"> |
| 16 | Notes about things I learn, things I do, things I want to remember, | 16 | Notes about things I learn, things I do, things I want to remember, |
| 17 | but never do. You can subscribe to this | 17 | but never do. You can subscribe to this |
| 18 | <a href="/notes.xml" class="underline hover:bg-yellow-100">RSS feed</a> | 18 | <a href="/notes.xml" class="underline">RSS feed</a> |
| 19 | which contains only the notes without the blog posts. | 19 | which contains only the notes without the blog posts. |
| 20 | </p> | 20 | </p> |
| 21 | </section> | 21 | </section> |
diff --git a/themes/simple/openring/openring.html b/themes/simple/openring/openring.html index 8bc92f5..2ed2a86 100644 --- a/themes/simple/openring/openring.html +++ b/themes/simple/openring/openring.html | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | <section class="mb-10"> | 1 | <section class="mb-10"> |
| 2 | <h2 class="text-2xl font-bold mb-6">Articles from blogs I follow around the net</h2> | 2 | <h2 class="text-2xl font-bold mb-6">Articles from blogs I follow around the net</h2> |
| 3 | 3 | ||
| 4 | <section> | 4 | <section class="grid md:grid-cols-2 gap-10"> |
| 5 | {{ range .Articles }} | 5 | {{ range .Articles }} |
| 6 | <article class="mb-6"> | 6 | <article class="flex flex-col gap-1"> |
| 7 | <a href="{{ .Link }}" target="_blank" rel="noopener" class="font-medium mb-1 hover:bg-yellow-100">{{ .Title }}</a> | 7 | <a href="{{ .Link }}" target="_blank" rel="noopener" class="font-medium rounded underline">{{ .Title }}</a> |
| 8 | <p class="mb-1 text-sm text-gray-600">{{ .Summary }}</p> | 8 | <p class="text-sm text-gray-600">{{ .Summary }}</p> |
| 9 | <div class="text-gray-500 font-medium text-xs"> | 9 | <div class="text-gray-500 font-medium text-xs"> |
| 10 | Via <a href="{{ .SourceLink }}" class="underline">{{ .SourceTitle }}</a> | 10 | Via <a href="{{ .SourceLink }}" class="underline">{{ .SourceTitle }}</a> |
| 11 | on {{ .Date | datef "January 2, 2006" }} | 11 | on {{ .Date | datef "January 2, 2006" }} |
| @@ -17,4 +17,4 @@ | |||
| 17 | <p class="text-sm text-gray-500"> | 17 | <p class="text-sm text-gray-500"> |
| 18 | <a href="https://git.sr.ht/~sircmpwn/openring" class="no-underline hover:underline">Generated with openring.</a> | 18 | <a href="https://git.sr.ht/~sircmpwn/openring" class="no-underline hover:underline">Generated with openring.</a> |
| 19 | </p> | 19 | </p> |
| 20 | </section> \ No newline at end of file | 20 | </section> |
diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css index 7d04496..9de02d7 100644 --- a/themes/simple/static/css/tailwind.css +++ b/themes/simple/static/css/tailwind.css | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | @tailwind components; | 2 | @tailwind components; |
| 3 | @tailwind utilities; | 3 | @tailwind utilities; |
| 4 | 4 | ||
| 5 | /* * { cursor: url(/general/9front-cursor.png), auto; } */ | 5 | * { cursor: url(/general/9front-cursor.png), auto; } |
| 6 | 6 | ||
| 7 | /* Container */ | 7 | /* Container */ |
| 8 | .container-blog { | 8 | .container-blog { |
| @@ -11,11 +11,11 @@ | |||
| 11 | 11 | ||
| 12 | /* User text selection */ | 12 | /* User text selection */ |
| 13 | ::selection { | 13 | ::selection { |
| 14 | @apply bg-yellow-100 text-black; | 14 | @apply bg-yellow-200 text-black; |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | ::-moz-selection { | 17 | ::-moz-selection { |
| 18 | @apply bg-yellow-100 text-black; | 18 | @apply bg-yellow-200 text-black; |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | /* Helpers */ | 21 | /* Helpers */ |
| @@ -52,7 +52,7 @@ article.single p { | |||
| 52 | 52 | ||
| 53 | /* Links */ | 53 | /* Links */ |
| 54 | article.single a { | 54 | article.single a { |
| 55 | @apply underline-offset-2 underline hover:bg-yellow-100; | 55 | @apply underline-offset-2 underline; |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | /* Blockquote */ | 58 | /* Blockquote */ |
| @@ -94,7 +94,7 @@ article.single audio { | |||
| 94 | 94 | ||
| 95 | /* Code */ | 95 | /* Code */ |
| 96 | article.single code { | 96 | article.single code { |
| 97 | @apply bg-yellow-100 rounded px-2 py-1 text-xs font-medium; | 97 | @apply bg-yellow-200 rounded px-2 py-1 text-xs font-medium; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | article.single.note code { | 100 | article.single.note code { |
