summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2025-10-29 23:16:58 +0100
committerNantha Sorubakanthan <nantha@mielota.com>2025-10-29 23:16:58 +0100
commitfb0d8f212bb4c7544590fb9b2ae298f346814519 (patch)
treeda00a160e75afa19368bbdb2c01b994f5f59b124
parent0b5462cb77a2412ab0ed1f118563a2252bd6c4d3 (diff)
Update to copied guides and hugo templates
-rw-r--r--content/copy/do-we-still-have-school-tomorrow.md4
-rw-r--r--content/copy/queen-of-beauty.md8
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/nav.html6
-rw-r--r--layouts/shortcodes/img.html2
5 files changed, 14 insertions, 8 deletions
diff --git a/content/copy/do-we-still-have-school-tomorrow.md b/content/copy/do-we-still-have-school-tomorrow.md
index 5fefa1b..9cf82b9 100644
--- a/content/copy/do-we-still-have-school-tomorrow.md
+++ b/content/copy/do-we-still-have-school-tomorrow.md
@@ -8,7 +8,7 @@ copied: ["Denshi", "https://denshi.org/blog/do-we-still-have-school-tomorrow/"]
table: false
---
-{{< img src="https://denshi.org/blog/do-we-still-have-school-tomorrow/tomorrow.jpg" alt="earth exploding with the caption 'wait guys do we still have school tomorrow ?'">}}
+{{< img src="https://denshi.org/blog/do-we-still-have-school-tomorrow/tomorrow.jpg" alt="earth exploding with the caption 'wait guys do we still have school tomorrow ?'" size="medium">}}
I have this really vivid memory of when I was planning to take my GCSEs. I remember being quite stressed about the whole ordeal, not because I didn’t have faith in my own abilities as a student but because I was worried about any cataclysmic event that might happen that would disrupt my exams. I would be paranoid about something happening to me or someone I loved throwing me down a downward spiral of horrible feelings. Examples included relatives dying, me getting impaired in an accident, or some kind of collective societal “breakdown” like a political crisis or even a war.
@@ -24,6 +24,6 @@ I really do regret worrying myself so much when I thought to exams, and I can gl
## Or in other words...
-{{< img src="https://denshi.org/blog/do-we-still-have-school-tomorrow/conclusion.png" alt="Earth flaming with caption 'I hope my family is okay'" >}}
+{{< img src="https://denshi.org/blog/do-we-still-have-school-tomorrow/conclusion.png" alt="Earth flaming with caption 'I hope my family is okay'" size="medium" >}}
_{{<sml>}}(This image was made by Eli Nelson Marsden. Thanks for the meme Eli!){{</sml>}}_
diff --git a/content/copy/queen-of-beauty.md b/content/copy/queen-of-beauty.md
index bebf7b9..13cc077 100644
--- a/content/copy/queen-of-beauty.md
+++ b/content/copy/queen-of-beauty.md
@@ -10,11 +10,11 @@ table: false
_This is a text adaptation of a [homily](https://www.youtube.com/watch?v=nfRk1YUeUaw) given in 2011 by Fr. John Hollowell about beauty._
-{{<img src="https://denshi.org/blog/queen-of-beauty/queen.webp" alt="Mother Mary, Queen of Beauty">}}
+{{<img src="https://denshi.org/blog/queen-of-beauty/queen.webp" alt="Mother Mary, Queen of Beauty" size="small" >}}
-School plays are for pansies; – Or so I used to think.
-Art is only for people who can paint; – Or so I used to think.
-I could care less about a well-cooked, home-made meal; – Or so I used to think.
+School plays are for pansies; – Or so I used to think.
+Art is only for people who can paint; – Or so I used to think.
+I could care less about a well-cooked, home-made meal; – Or so I used to think.
In high school, I loved to tell everyone that I had no artistic ability. It was like a badge of honor: I was proud to not be one of those “artsy” people. I was a math major, an athlete and a realist. I did join the show choir one year when I was a Sophomore, but that was only because Jamie Schroeder, the best looking girl in school, a senior cheerleader, decided to join the show choir too, so I thought that was my chance. When she graduated, I quit show choir. And I don’t think the choir director minded seeing me go…
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3bc97a2..97190e4 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" }}
{{ with .Params.icon }}
-<img style="height: 10em;display: block;margin: auto;" src="{{ . }}">
+<img src="{{ . }}" class="icon">
{{ end }}
{{ if .Params.table }}
<h2>Table of Contents</h2>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..f3aeb0a
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,6 @@
+<nav style="display: flex;justify-content: space-around;">
+ <a href="/stuff">stuff</a>
+ <a href="/contact">contact</a>
+ <a href="https://codeberg.org/mielota">git</a>
+ <a href="https://dns.mielota.com">dns</a>
+</nav>
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html
index 013637a..8685a99 100644
--- a/layouts/shortcodes/img.html
+++ b/layouts/shortcodes/img.html
@@ -1 +1 @@
-<img src='{{ .Get "src" }}' alt='{{ .Get "alt" }}'>
+<img src='{{ .Get "src" }}' alt='{{ .Get "alt" }}' class='{{ .Get "size" }}'>