summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/homepage/omake.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layouts/partials/homepage/omake.html b/layouts/partials/homepage/omake.html
new file mode 100644
index 0000000..a83a0dc
--- /dev/null
+++ b/layouts/partials/homepage/omake.html
@@ -0,0 +1,28 @@
+{{- $file := "onigiri.png" }}
+{{- $path := printf "content_images/%s" $file}}
+{{- $img := resources.Get $path }}
+{{- $img1x := $img.Resize "50x webp" }}
+{{- $img2x := $img.Resize "100x webp" }}
+
+<section class="omake">
+ <img
+ alt="Emacs logo"
+ style="float: left; max-width: 20%; margin-right: 10px;"
+ src="{{ $img1x.Permalink }}"
+ srcset="
+ {{ $img1x.Permalink }} 1x,
+ {{ $img2x.Permalink }} 2x
+ "
+ width="{{ $img1x.Width }}"
+ height="{{ $img1x.Height }}"
+ >
+ <h2 id="omake"><a href="#nameplate">Omake</a></h2>
+ <i>
+ Omake
+ </i>
+ (japanese): extra, bonus<br>
+ Currently: mirror of an old site.
+ <ul>
+ <li><a href="/userfriendly/">User Friendly Cartoon Archive</a> (over 5500 pages!)
+ </lu>
+</section>