Shortcodes für Tabelle und Downloads eingebaut sowie eigenen Typ für feed gebaut

This commit is contained in:
mdn 2023-01-07 23:24:56 +01:00
parent 23649f935f
commit f8c72825f0
9 changed files with 137 additions and 4 deletions

View file

@ -0,0 +1,6 @@
<!-- Ermittle Parameter -->
{{ $htmlTable := .Inner | markdownify }}
{{ $table_class := .Get "table_class" | default "table table-hover" }}
{{ $thead_class := .Get "thead_class" | default "table-dark" }}
{{- partial "shortcodes/table" (dict "content" $htmlTable "table_class" $table_class "thead_class" $thead_class) -}}