template tweaks

about template more resembles links now
This commit is contained in:
Lilian Jónsdóttir 2024-01-27 18:57:57 -08:00
parent b56b6f11cb
commit 5882b9d19a
3 changed files with 13 additions and 11 deletions

View file

@ -6,15 +6,17 @@
<span id="bigwords"> <span id="bigwords">
{{ index .StringMap "about" }} {{ index .StringMap "about" }}
</span> </span>
{{- range $key, $value := .LinkMap }}
<!-- personal links --> <h4>{{ $key }}</h4>
<h4>links</h4> {{- range $value }}
{{- range (index .LinkMap "Personal") }} <a href="{{ .Href }}" class="links">
<a href="{{ .Href }}"> {{- if (ne .Icon "") }}
<span class="iconify" data-icon="{{ .Icon }}"></span> <span class="iconify" data-icon="{{ .Icon }}"></span>
{{ .Text }} {{ end -}}
</a><br /> {{ .Text }}
{{ end }} </a><br />
{{- end }}
{{- end }}
<br /> <br />
<a href="/"> <a href="/">
<span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span> <span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span>

View file

@ -1,7 +1,7 @@
StringMap: StringMap:
about: she/her; 1989; queer anarchist; self-taught, aspiring developer and sysadmin; lover of music, games, books, free software, history, fog, mountains, and forests; about: she/her; 1989; queer anarchist; self-taught, aspiring developer and sysadmin; lover of music, games, books, free software, history, fog, mountains, and forests;
LinkMap: LinkMap:
Personal: links:
- href: https://matrix.to/#/@celediel:burning.moe - href: https://matrix.to/#/@celediel:burning.moe
text: matrix text: matrix
icon: tabler:brand-matrix icon: tabler:brand-matrix

View file

@ -14,7 +14,7 @@
{{- .Text }} {{- .Text }}
</a><br /> </a><br />
{{- end }} {{- end }}
{{ end -}} {{- end }}
<br /> <br />
<a href="/" id="back"> <a href="/" id="back">
<span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span> <span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span>