Added content under Angebot
This commit is contained in:
11
themes/tsc_vfl/layouts/shortcodes/tsc/time-table.html
Normal file
11
themes/tsc_vfl/layouts/shortcodes/tsc/time-table.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{ $table := .Inner | markdownify }}
|
||||
{{ $old := "<table>" }}
|
||||
{{ $class := "time-no-age" }}
|
||||
{{ $cols := "<col width=\"300\">" }}
|
||||
{{ with .Get "age" }}
|
||||
{{ $class = "time-age" }}
|
||||
{{ $cols = "<col width=\"220\"><col width=\"80\">" }}
|
||||
{{ end }}
|
||||
{{ $new := printf "<table class=\"time %s\"><colgroup>%s<col width=\"120\"><col width=\"120\"><col width=\"130\"></colgroup>" $class $cols }}
|
||||
{{ $newTable := replace $table $old $new }}
|
||||
{{ $newTable | safeHTML }}
|
||||
Reference in New Issue
Block a user