]> git.maquefel.me Git - brevno-suite/hugo/commit
tpl/tplimpl: Allow alternate comment syntax
authorJoe Mooring <joe.mooring@veriphor.com>
Sun, 4 Dec 2022 01:06:56 +0000 (17:06 -0800)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 4 Dec 2022 08:25:51 +0000 (09:25 +0100)
commit0b976d2b40fb3bc590f1cb01515116376bac0003
treed79162f026e4aca01e1a0270c8d10771ccca3dbf
parenta49e51fd0b03c261358643fb6656257158d95520
tpl/tplimpl: Allow alternate comment syntax

Allow alternate comment syntax before block definitions:

{{/* foo */}}
{{- /* foo */}}
{{- /* foo */ -}}

Fixes #10495
tpl/tplimpl/integration_test.go
tpl/tplimpl/template.go