1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-12-21 23:12:19 +00:00

I'm gonna get this space right whether hugo likes it or not

This commit is contained in:
Ash Keel 2023-02-18 13:02:00 +01:00
parent 6dabaecc94
commit 043c8dbda4
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<code>
{{ with .element }}
{{ with $.name }}
<div class="nameblock"><span class="name">{{ . }}</span>{{ ": " }}</div>
<div class="nameblock"><span class="name">{{ . }}</span>:</div>
{{ end }}
{{ if (eq $.kind "array") }}
<span class="kind {{ $.kind }}">arrayOf</span> [
@ -28,7 +28,7 @@
<abbr class="pointer" title="Optional, might not be in the object"
>*</abbr
>
{{ end }}{{ ": " }}
{{ end }}:
</div>
{{ end }}
<span class="kind {{ $.kind }}">{{ .kind }}</span>

View file

@ -87,6 +87,7 @@
list-style-type: none;
& > code > .nameblock {
display: inline-flex;
padding-right: 0.5rem;
& > .name {
&::before,
&::after {