Remove most class and style params

This commit is contained in:
Will Faught
2023-01-06 17:23:56 -08:00
parent 9f89cd3f0f
commit cefc10bbe1
7 changed files with 27 additions and 125 deletions

View File

@@ -3,4 +3,4 @@
{{ $href := .href }}
{{ $style := .style }}
<a {{ with $class }} {{ . }} {{ end }} {{ with $href }} href="{{ . }}" {{ end }} {{ with $style }} {{ . | safeCSS }} {{ end }}>{{ $content }}</a>
<a {{ with $class }} class="{{ . }}" {{ end }} {{ with $href }} href="{{ . }}" {{ end }} {{ with $style }} style="{{ . | safeCSS }}" {{ end }}>{{ $content }}</a>