about: Clean up the markup a little bit

I'm still not happy with the circular image. It's not aligned like I would like.
This commit is contained in:
Eryn Wells 2025-01-01 10:44:14 -08:00
parent 3f436085a3
commit 0877f504b3
2 changed files with 10 additions and 8 deletions

View file

@ -1,17 +1,16 @@
--- ---
title: "Hi! 👋🏻" title: "Hi! 👋🏻"
layout: single
resources: resources:
- name: me - name: me
src: me.jpeg src: me.jpeg
params: params:
alt: " alt: >
Me, wearing a hat and smiling slightly, standing in front of a stone background. Me, wearing a hat and smiling slightly, standing in front of a stone
" background.
--- ---
{{% section class=flow %}} {{% section class=content--small-right-column %}}
{{< circular_image id=me name=me class="float-right" width=200 >}}
I'm Eryn. My pronouns are [she/her][p]. I'm a queer trans woman. I live in San I'm Eryn. My pronouns are [she/her][p]. I'm a queer trans woman. I live in San
Francisco, CA, on the unceded ancestral lands of the Ramaytush Ohlone people, Francisco, CA, on the unceded ancestral lands of the Ramaytush Ohlone people,
@ -21,6 +20,8 @@ I attended [Oberlin College][ob] where I got a degree in Computer Science.
I speak English natively, and Spanish too, though I always need more practice. I speak English natively, and Spanish too, though I always need more practice.
{{< circular_image id=me name=me class="content--right-column" width=200 >}}
{{% /section %}} {{% /section %}}
## Hobbies ## Hobbies

View file

@ -6,7 +6,8 @@
{{- $resized_img := $img.Resize (printf "%dx%d" $width $width) -}} {{- $resized_img := $img.Resize (printf "%dx%d" $width $width) -}}
<img <img
{{ with $id }}id="{{ . }}"{{ end }} {{ with $id }}id="{{ . }}"{{ end }}
class="circular{{ with $classes }} {{ . }}{{ end }}" class="img--circular{{ with $classes }} {{ . }}{{ end }}"
src="{{ $img.RelPermalink }}" src="{{ $img.RelPermalink }}"
{{ with $alt }}alt="{{ . }}"{{ end }} {{ with $alt }}alt="{{ . }}"{{ end }}
width="{{ $width }}" height="{{ $width }}"> width="{{ $width }}"
height="{{ $width }}">