summaryrefslogtreecommitdiff
path: root/layouts/partials/homepage/emacs.html
blob: 807185e67b632655545e53dc1c785e7e3f4c6b52 (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 := "emacs-logo.png" }}
{{- $path := printf "content_images/%s" $file}}
{{- $img := resources.Get $path }}
{{- $img1x := $img.Resize "50x webp" }}
{{- $img2x := $img.Resize "100x webp" }}

<section class="emacs">
  <h2 id="emacs"><a href="#emacs">Emacs</a></h2>
  <div style="display: flow-root; vertical-align: middle;">
    <img 
      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 }}"
      >
    
    After years of using (neo)vim, I've migrated fully to Emacs.
    Funny thing about this editor is that it's not only an editor but a style of life.
    
    <p>
      Here you can find some articles I've written about it:
    </p>
  </div>
  {{ partial "menu.html" (dict "menuID" "emacs" "page" .) }}

  </section>