mirror of
https://git.sr.ht/~ashkeel/strimertul-website
synced 2024-11-21 21:22:21 +00:00
I'm gonna get this space right whether hugo likes it or not
This commit is contained in:
parent
6dabaecc94
commit
043c8dbda4
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
<code>
|
<code>
|
||||||
{{ with .element }}
|
{{ with .element }}
|
||||||
{{ with $.name }}
|
{{ with $.name }}
|
||||||
<div class="nameblock"><span class="name">{{ . }}</span>{{ ": " }}</div>
|
<div class="nameblock"><span class="name">{{ . }}</span>:</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if (eq $.kind "array") }}
|
{{ if (eq $.kind "array") }}
|
||||||
<span class="kind {{ $.kind }}">arrayOf</span> [
|
<span class="kind {{ $.kind }}">arrayOf</span> [
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
<abbr class="pointer" title="Optional, might not be in the object"
|
<abbr class="pointer" title="Optional, might not be in the object"
|
||||||
>*</abbr
|
>*</abbr
|
||||||
>
|
>
|
||||||
{{ end }}{{ ": " }}
|
{{ end }}:
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<span class="kind {{ $.kind }}">{{ .kind }}</span>
|
<span class="kind {{ $.kind }}">{{ .kind }}</span>
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
& > code > .nameblock {
|
& > code > .nameblock {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
padding-right: 0.5rem;
|
||||||
& > .name {
|
& > .name {
|
||||||
&::before,
|
&::before,
|
||||||
&::after {
|
&::after {
|
||||||
|
|
Loading…
Reference in a new issue