mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-29 02:24:51 +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
3 lines
No EOL
182 B
HTML
Executable file
3 lines
No EOL
182 B
HTML
Executable file
{{ if .IsPage }}{{ with .Params.news_keywords }}
|
|
<meta name="news_keywords" content="{{ range $i, $kw := first 10 . }}{{ if $i }},{{ end }}{{ $kw }}{{ end }}" />
|
|
{{ end }}{{ end }} |