shithub: hugo

ref: 794d4052b87c98943588b35e1cfecc06e6a0c7f2
dir: /tpl/tplimpl/embedded/templates/shortcodes/highlight.html/

View raw version
{{ if len .Params | eq 2 }}{{ highlight (trim .Inner "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .Inner "\n\r") (.Get 0) "" }}{{ end }}