summaryrefslogtreecommitdiff
path: root/layouts/partials/homepage/nav.html
blob: 816956642e1fc3d95266202463872d388eea8201 (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
29
30
{{- $file := "me.png" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
{{- $img1x := $img.Resize "150x webp" }}
{{- $img2x := $img.Resize "300x webp" }} <!--  -->

<section style="display: flow-root">
  <h2>About</h2>
  Hey! I'm Michał Sapka and you've stumbled upon my personal website.
  This marvel of modern engineering is modeled upon Web 1.0.
  It's not dedicated to one thing, but rather it's about a few things that interest me.
  Bellow you can find sections which I would describe as online books.
  <a href="/brain-rot">Brain Rots</a> describe movies, books and games.
  <a href="/bsd"/>BSD</a> and <a href="/emasc">Emacs</a> are quite self-explanatory.
  I take special fondness of <a href="/star-trek">Star Trek</a>  so it is a section of its own.
  I also have a dedicated <a href="/blog">blog</a>, but this site is not a blog.
  <img
    alt="Michal"
    style="float: right; max-width: 20%;"
    src="{{ $img1x.Permalink }}" 
    srcset="
            {{ $img1x.Permalink }} 1x,
            {{ $img2x.Permalink }} 2x
            "
    width="{{ $img1x.Width }}" 
    height="{{ $img1x.Height }}"
    >
  {{ partial "menu.html" (dict "menuID" "main-nav" "page" .) }}
</section>