diff options
Diffstat (limited to 'layouts/partials/homepage/emacs.html')
-rw-r--r-- | layouts/partials/homepage/emacs.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layouts/partials/homepage/emacs.html b/layouts/partials/homepage/emacs.html new file mode 100644 index 00000000..52c9ea27 --- /dev/null +++ b/layouts/partials/homepage/emacs.html @@ -0,0 +1,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>Emacs</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> |