Added content under Angebot

This commit is contained in:
2023-01-21 18:07:36 +01:00
parent 4214e26ad7
commit d903a3baf4
22 changed files with 363 additions and 26 deletions

View File

@@ -0,0 +1,3 @@
<a class="external" href="{{ .Get "url" }}" target="_blank">
{{- .Inner -}}
</a>

View File

@@ -0,0 +1,7 @@
## Trainingsorte
siehe [Standorte]({{ relref $.Page "raeume" }})
## Beitrag
siehe [Mitgliedschaft]({{ relref $.Page "beitrag" }})

View 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 }}