shithub: hugo

ref: 97987e5c0254e35668dca7f89e67b79553e617c8
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 }}