ready to test glosses..
This commit is contained in:
parent
e77911aeac
commit
9aec1be1e3
3 changed files with 5 additions and 5 deletions
|
@ -891,11 +891,11 @@ details {
|
|||
|
||||
.glossnumber {
|
||||
grid-area: glossnumber;
|
||||
padding-right: 0.3rem;
|
||||
}
|
||||
.glossnumber::before {
|
||||
.glossnumberAuto::before {
|
||||
counter-increment: glossN;
|
||||
content: "(" counter(glossN) ")";
|
||||
padding-right: 0.3rem;
|
||||
}
|
||||
.glossline {
|
||||
border-bottom: lightgray solid 1px;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{- range $g := (split $inn "\n") -}}
|
||||
{{- if hasPrefix $g "{r}" -}}
|
||||
<div class="glossregular">
|
||||
{{- substr $g 3 -}}
|
||||
{{- substr $g 3 | htmlUnescape | safeHTML -}}
|
||||
</div>
|
||||
{{- else if hasPrefix $g "{g}" -}}
|
||||
<div class="glossline">
|
||||
|
@ -21,5 +21,5 @@
|
|||
{{- end -}}
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div class="glossnumber"></div>
|
||||
<div class="glossnumber {{ with $.Page.Params.glossnumberAuto }}glossnumberAuto{{ end }}">{{ with .Get 0 }}{{ . }}{{ end}}</div>
|
||||
</div>
|
2
static/css/site.min.css
vendored
2
static/css/site.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue