mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 04:40:48 +00:00
34ad9a4f17
Having them in separate files should make maintainance easier. When adding new or making changes to the templates: ```bash mage generate ``` This will get the Go code in sync. Fixes #4457
1 line
No EOL
148 B
HTML
Executable file
1 line
No EOL
148 B
HTML
Executable file
{{ if len .Params | eq 2 }}{{ highlight (trim .Inner "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .Inner "\n\r") (.Get 0) "" }}{{ end }} |