summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 00:50:14 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 00:50:14 +0200
commit427acbdb6d2c1b82913eb2650bb68a93f58176d8 (patch)
treefa7b95a8fc66bcb3812ccf720bf65edb916cec43
parenta08627c40e2ad627b69c57f28a3ed6510bc34f76 (diff)
downloadgohugo-theme-ed-427acbdb6d2c1b82913eb2650bb68a93f58176d8.tar.gz
Fix linting issues
-rw-r--r--layouts/_default/list.atom.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml
index 452b3bf..b3b375d 100644
--- a/layouts/_default/list.atom.xml
+++ b/layouts/_default/list.atom.xml
@@ -14,10 +14,7 @@
{{- $pages = $pages | first $limit -}}
{{- safeHTML "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" }}
-<feed xmlns="http://www.w3.org/2005/Atom"
- xmlns:media="http://search.yahoo.com/mrss/"
- xml:lang="{{ site.LanguageCode }}"
- xml:base="{{ site.BaseURL }}">
+<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="{{ site.LanguageCode }}" xml:base="{{ site.BaseURL }}">
{{ printf `<title type="html"><![CDATA[%s]]></title>` (partial "title.html" .) | safeHTML }}
{{ with site.Params.description }}{{ printf `<subtitle type="html"><![CDATA[%s]]></subtitle>` . | safeHTML }}{{ end }}
{{- $output_formats := .OutputFormats }}