summaryrefslogtreecommitdiff
path: root/layouts/partials/homepage/omake.html
blob: aa7862437519b5b51fd3c4d3b1cd930e636e786a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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="https://uf.crys.site">User Friendly Cartoon Archive</a> (over 5500 pages!)
  </lu>
</section>