diff options
author | mms <michal@sapka.me> | 2024-05-17 23:11:15 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-05-17 23:11:15 +0200 |
commit | 87956783440e1e915262c34731054c5b934dd970 (patch) | |
tree | ebffd1fd69ab60db87d932f83d7bec1798332c24 /layouts/partials | |
parent | 1f5ad926609f715d57bc4a7e043e54d6c9802988 (diff) |
feat: uf archive
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/homepage/omake.html | 28 |
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> |