template tweaks
about template more resembles links now
This commit is contained in:
parent
b56b6f11cb
commit
5882b9d19a
|
@ -6,15 +6,17 @@
|
|||
<span id="bigwords">
|
||||
{{ index .StringMap "about" }}
|
||||
</span>
|
||||
|
||||
<!-- personal links -->
|
||||
<h4>links</h4>
|
||||
{{- range (index .LinkMap "Personal") }}
|
||||
<a href="{{ .Href }}">
|
||||
<span class="iconify" data-icon="{{ .Icon }}"></span>
|
||||
{{ .Text }}
|
||||
</a><br />
|
||||
{{ end }}
|
||||
{{- range $key, $value := .LinkMap }}
|
||||
<h4>{{ $key }}</h4>
|
||||
{{- range $value }}
|
||||
<a href="{{ .Href }}" class="links">
|
||||
{{- if (ne .Icon "") }}
|
||||
<span class="iconify" data-icon="{{ .Icon }}"></span>
|
||||
{{ end -}}
|
||||
{{ .Text }}
|
||||
</a><br />
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<br />
|
||||
<a href="/">
|
||||
<span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
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;
|
||||
LinkMap:
|
||||
Personal:
|
||||
links:
|
||||
- href: https://matrix.to/#/@celediel:burning.moe
|
||||
text: matrix
|
||||
icon: tabler:brand-matrix
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{- .Text }}
|
||||
</a><br />
|
||||
{{- end }}
|
||||
{{ end -}}
|
||||
{{- end }}
|
||||
<br />
|
||||
<a href="/" id="back">
|
||||
<span class="iconify" data-icon="material-symbols:keyboard-arrow-left"></span>
|
||||
|
|
Loading…
Reference in a new issue