ready to test glosses..

This commit is contained in:
Marcell Mars 2020-12-06 00:58:31 +01:00
parent e77911aeac
commit 9aec1be1e3
3 changed files with 5 additions and 5 deletions

View file

@ -891,11 +891,11 @@ details {
.glossnumber { .glossnumber {
grid-area: glossnumber; grid-area: glossnumber;
padding-right: 0.3rem;
} }
.glossnumber::before { .glossnumberAuto::before {
counter-increment: glossN; counter-increment: glossN;
content: "(" counter(glossN) ")"; content: "(" counter(glossN) ")";
padding-right: 0.3rem;
} }
.glossline { .glossline {
border-bottom: lightgray solid 1px; border-bottom: lightgray solid 1px;

View file

@ -4,7 +4,7 @@
{{- range $g := (split $inn "\n") -}} {{- range $g := (split $inn "\n") -}}
{{- if hasPrefix $g "{r}" -}} {{- if hasPrefix $g "{r}" -}}
<div class="glossregular"> <div class="glossregular">
{{- substr $g 3 -}} {{- substr $g 3 | htmlUnescape | safeHTML -}}
</div> </div>
{{- else if hasPrefix $g "{g}" -}} {{- else if hasPrefix $g "{g}" -}}
<div class="glossline"> <div class="glossline">
@ -21,5 +21,5 @@
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
</div> </div>
<div class="glossnumber"></div> <div class="glossnumber {{ with $.Page.Params.glossnumberAuto }}glossnumberAuto{{ end }}">{{ with .Get 0 }}{{ . }}{{ end}}</div>
</div> </div>

File diff suppressed because one or more lines are too long