Einbinden von CustomCSS setzt keine Site-Base mehr davor + kleinere Anpassungen um Leerzeilen zu vermeiden
This commit is contained in:
parent
c14beceef6
commit
631c22e7c6
18 changed files with 134 additions and 146 deletions
|
@ -1,14 +1,14 @@
|
|||
{{ $htmlTable := .content }}
|
||||
{{- $htmlTable := .content -}}
|
||||
|
||||
<!-- Tabellenklassen hinzufügen -->
|
||||
{{ $old_tbl := "<table>"}}
|
||||
{{ $new_tbl := printf "<table class=\"%s\">" .table_class }}
|
||||
{{ $htmlTable := replace $htmlTable $old_tbl $new_tbl }}
|
||||
{{- $old_tbl := "<table>" -}}
|
||||
{{- $new_tbl := printf "<table class=\"%s\">" .table_class -}}
|
||||
{{- $htmlTable := replace $htmlTable $old_tbl $new_tbl -}}
|
||||
|
||||
<!-- Tabellenkopf hinzufügen -->
|
||||
{{ $old_th := "<thead>"}}
|
||||
{{ $new_th := printf "<thead class=\"%s\">" .thead_class }}
|
||||
{{ $htmlTable := replace $htmlTable $old_th $new_th }}
|
||||
{{- $old_th := "<thead>" -}}
|
||||
{{- $new_th := printf "<thead class=\"%s\">" .thead_class -}}
|
||||
{{- $htmlTable := replace $htmlTable $old_th $new_th -}}
|
||||
|
||||
<!-- Tabellen-HTML-Code -->
|
||||
{{ $htmlTable | safeHTML }}
|
||||
<!-- Tabellen-HTML-Code -->
|
||||
{{- $htmlTable | safeHTML -}}
|
Loading…
Add table
Add a link
Reference in a new issue