diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:36:44 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:36:44 +0100 |
| commit | d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9 (patch) | |
| tree | 7a4280e072382c09ac76b9da4e7b82f4170699db /themes/simple/layouts/partials | |
| parent | c67c1800f22e66b7f11c904ff8fdee6947f91c07 (diff) | |
| download | mitjafelicijan.com-d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9.tar.gz | |
A bunch of theme changes and removal of Cactus comments
Diffstat (limited to 'themes/simple/layouts/partials')
| -rwxr-xr-x | themes/simple/layouts/partials/comments.html | 30 | ||||
| -rwxr-xr-x | themes/simple/layouts/partials/footer.html | 22 | ||||
| -rwxr-xr-x | themes/simple/layouts/partials/navigation.html | 12 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/read-more.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/side-projects.html | 35 |
5 files changed, 62 insertions, 39 deletions
diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html index b905967..bd26145 100755 --- a/themes/simple/layouts/partials/comments.html +++ b/themes/simple/layouts/partials/comments.html | |||
| @@ -1,21 +1,11 @@ | |||
| 1 | <section class="comments"> | 1 | <section class="comments"> |
| 2 | <h2 class="text-xl font-bold mb-2">Leave a comment</h2> | 2 | <h2 class="text-xl font-bold mb-2">Care to leave a comment?</h2> |
| 3 | <p class="mb-4">You can write me an email at <a href="mailto:m@mitjafelicijan.com" class="underline hover:bg-yellow-100">m@mitjafelicijan.com</a> or comment bellow.</p> | 3 | <p class="mb-4">You can write me an email at |
| 4 | <div id="comment-section"></div> | 4 | <a href="mailto:m@mitjafelicijan.com" |
| 5 | 5 | class="underline-offset-2 decoration-1 decoration-wavy underline hover:bg-yellow-100">m@mitjafelicijan.com</a> | |
| 6 | <script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script> | 6 | or catch up with me |
| 7 | 7 | <a href="https://telegram.me/mitjafelicijan" target="_blank" | |
| 8 | <script> | 8 | class="underline-offset-2 decoration-1 decoration-wavy underline hover:bg-yellow-100">on |
| 9 | window.addEventListener('load', () => { | 9 | Telegram</a>. |
| 10 | initComments({ | 10 | </p> |
| 11 | node: document.getElementById("comment-section"), | 11 | </section> \ No newline at end of file |
| 12 | defaultHomeserverUrl: "https://matrix.cactus.chat:8448", | ||
| 13 | serverName: "cactus.chat", | ||
| 14 | siteName: "mitjafelicijan.com", | ||
| 15 | commentSectionId: "{{ .File }}", | ||
| 16 | pageSize: 50, | ||
| 17 | updateInterval: 10, | ||
| 18 | }); | ||
| 19 | }); | ||
| 20 | </script> | ||
| 21 | </section> | ||
diff --git a/themes/simple/layouts/partials/footer.html b/themes/simple/layouts/partials/footer.html index 7383ae1..a0c745f 100755 --- a/themes/simple/layouts/partials/footer.html +++ b/themes/simple/layouts/partials/footer.html | |||
| @@ -1,8 +1,12 @@ | |||
| 1 | <footer class="container-blog mx-auto px-6 md:p-0 text-gray-400 text-sm"> | 1 | <footer class="container-blog mx-auto px-6 md:p-0 text-gray-400 text-sm"> |
| 2 | <p class="pb-12"> | 2 | <hr class="border-2 border-gray-100 my-12"> |
| 3 | <p class="pb-16"> | ||
| 3 | This website does not track you. | 4 | This website does not track you. |
| 4 | Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noreferrer" class="underline hover:text-gray-800">CC BY 4.0 license</a> unless specified otherwise. | 5 | Content is made available under the <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" |
| 5 | Blog feed is available as <a href="/index.xml" target="_blank" class="underline hover:text-gray-800">RSS</a> feed. | 6 | rel="noreferrer" class="underline-offset-2 decoration-1 decoration-wavy underline hover:text-gray-800">CC BY 4.0 |
| 7 | license</a> unless specified otherwise. | ||
| 8 | Blog feed is available as <a href="/index.xml" target="_blank" | ||
| 9 | class="underline-offset-2 decoration-1 decoration-wavy underline hover:text-gray-800">RSS feed</a>. | ||
| 6 | </p> | 10 | </p> |
| 7 | </footer> | 11 | </footer> |
| 8 | 12 | ||
| @@ -11,9 +15,13 @@ | |||
| 11 | 15 | ||
| 12 | {{ if ne .IsHome true }} | 16 | {{ if ne .IsHome true }} |
| 13 | <!-- KaTeX math library --> | 17 | <!-- KaTeX math library --> |
| 14 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous"> | 18 | <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css" |
| 15 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.js" integrity="sha384-pK1WpvzWVBQiP0/GjnvRxV4mOb0oxFuyRxJlk6vVw146n3egcN5C925NCP7a7BY8" crossorigin="anonymous"></script> | 19 | integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous"> |
| 16 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/contrib/auto-render.min.js" integrity="sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script> | 20 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.js" |
| 21 | integrity="sha384-pK1WpvzWVBQiP0/GjnvRxV4mOb0oxFuyRxJlk6vVw146n3egcN5C925NCP7a7BY8" crossorigin="anonymous"></script> | ||
| 22 | <script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/contrib/auto-render.min.js" | ||
| 23 | integrity="sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl" crossorigin="anonymous" | ||
| 24 | onload="renderMathInElement(document.body);"></script> | ||
| 17 | {{ end }} | 25 | {{ end }} |
| 18 | 26 | ||
| 19 | {{ if ne .IsHome true }} | 27 | {{ if ne .IsHome true }} |
| @@ -51,4 +59,4 @@ | |||
| 51 | } | 59 | } |
| 52 | }); | 60 | }); |
| 53 | </script> | 61 | </script> |
| 54 | {{ end }} | 62 | {{ end }} \ No newline at end of file |
diff --git a/themes/simple/layouts/partials/navigation.html b/themes/simple/layouts/partials/navigation.html index ba727c5..a463ade 100755 --- a/themes/simple/layouts/partials/navigation.html +++ b/themes/simple/layouts/partials/navigation.html | |||
| @@ -1,16 +1,18 @@ | |||
| 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-6 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-bold hover:bg-yellow-100">Mitja Felicijan</a> | 4 | <a href="/" itemprop="url" class="text-xl font-semibold hover:bg-yellow-100">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"> |
| 8 | <meta itemprop="name" content="Main Menu"> | 8 | <meta itemprop="name" content="Main Menu"> |
| 9 | 9 | ||
| 10 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Git</a> | 10 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" |
| 11 | <a href="https://files.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Files</a> | 11 | class="font-medium px-2 hover:bg-yellow-100">Git</a> |
| 12 | <a href="https://files.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" | ||
| 13 | class="font-medium px-2 hover:bg-yellow-100">Files</a> | ||
| 12 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-100">CV</a> | 14 | <a href="/curriculum-vitae.html" class="font-medium px-2 hover:bg-yellow-100">CV</a> |
| 13 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-100 hidden md:block">RSS</a> | 15 | <a href="/index.xml" itemprop="url" class="font-medium px-2 hover:bg-yellow-100 hidden md:block">RSS</a> |
| 14 | </nav> | 16 | </nav> |
| 15 | </header> | 17 | </header> |
| 16 | </div> | 18 | </div> \ No newline at end of file |
diff --git a/themes/simple/layouts/partials/read-more.html b/themes/simple/layouts/partials/read-more.html index d604bfc..a238017 100644 --- a/themes/simple/layouts/partials/read-more.html +++ b/themes/simple/layouts/partials/read-more.html | |||
| @@ -13,4 +13,4 @@ | |||
| 13 | {{ end }} | 13 | {{ end }} |
| 14 | </ul> | 14 | </ul> |
| 15 | </nav> | 15 | </nav> |
| 16 | </section> | 16 | </section> \ No newline at end of file |
diff --git a/themes/simple/layouts/partials/side-projects.html b/themes/simple/layouts/partials/side-projects.html index 5cca9b6..f675803 100644 --- a/themes/simple/layouts/partials/side-projects.html +++ b/themes/simple/layouts/partials/side-projects.html | |||
| @@ -1,10 +1,33 @@ | |||
| 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 worked on</h2> |
| 3 | <ul class="list-disc ml-6"> | 3 | <ul class="list-disc ml-6"> |
| 4 | <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> | 4 | <li> |
| 5 | <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> | 5 | <a href="https://git.mitjafelicijan.com/cord.h.git/" target="_blank" rel="noopener nofollow" |
| 6 | <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> | 6 | class="hover:bg-yellow-100">cord.h - Small C library for handling strings</a> |
| 7 | <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> | 7 | </li> |
| 8 | <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> | 8 | <li> |
| 9 | <a href="https://git.mitjafelicijan.com/mprogress.git/" target="_blank" rel="noopener nofollow" | ||
| 10 | class="hover:bg-yellow-100">mprogress - Tiny utility that displays progress bar in terminal</a> | ||
| 11 | </li> | ||
| 12 | <li> | ||
| 13 | <a href="https://git.mitjafelicijan.com/journalctl-proxy.git/" target="_blank" rel="noopener nofollow" | ||
| 14 | class="hover:bg-yellow-100">journalctl-proxy - Exposes your systemd logs to web via web interface</a> | ||
| 15 | </li> | ||
| 16 | <li> | ||
| 17 | <a href="https://git.mitjafelicijan.com/redis-marshal.git/" target="_blank" rel="noopener nofollow" | ||
| 18 | class="hover:bg-yellow-100">redis-marshal - Lightweight Redis data exploration tool</a> | ||
| 19 | </li> | ||
| 20 | <li> | ||
| 21 | <a href="https://git.mitjafelicijan.com/dna-encoding.git/" target="_blank" rel="noopener nofollow" | ||
| 22 | class="hover:bg-yellow-100">dna-encoding - Tools for encoding files to DNA sequence</a> | ||
| 23 | </li> | ||
| 24 | <li> | ||
| 25 | <a href="https://git.mitjafelicijan.com/vertex.git/" target="_blank" rel="noopener nofollow" | ||
| 26 | class="hover:bg-yellow-100">vertex - Create mock API's and add basic logic to simplify prototyping</a> | ||
| 27 | </li> | ||
| 28 | <li> | ||
| 29 | <a href="https://git.mitjafelicijan.com/scarecrow.git/" target="_blank" rel="noopener nofollow" | ||
| 30 | class="hover:bg-yellow-100">scarecrow - Minimal configuration reverse proxy</a> | ||
| 31 | </li> | ||
| 9 | </ul> | 32 | </ul> |
| 10 | </section> | 33 | </section> \ No newline at end of file |
