mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-10 01:52:19 +00:00
Revert "rss: don't minify whitespace in xml"
This reverts commit 41843eba32
.
This commit is contained in:
parent
41843eba32
commit
2d74f36530
2 changed files with 1 additions and 28 deletions
|
@ -60,30 +60,3 @@ enableInlineShortcodes = true
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
series = "series"
|
series = "series"
|
||||||
|
|
||||||
# Copied from https://gohugo.io/getting-started/configuration/#configure-minify
|
|
||||||
# Only change made is xml keepWhitespace = true
|
|
||||||
[minify]
|
|
||||||
disableCSS = false
|
|
||||||
disableHTML = false
|
|
||||||
disableJS = false
|
|
||||||
disableJSON = false
|
|
||||||
disableSVG = false
|
|
||||||
disableXML = false
|
|
||||||
minifyOutput = false
|
|
||||||
[minify.tdewolff]
|
|
||||||
[minify.tdewolff.css]
|
|
||||||
decimals = -1
|
|
||||||
keepCSS2 = true
|
|
||||||
[minify.tdewolff.html]
|
|
||||||
keepConditionalComments = true
|
|
||||||
keepDefaultAttrVals = true
|
|
||||||
keepDocumentTags = true
|
|
||||||
keepEndTags = true
|
|
||||||
keepQuotes = false
|
|
||||||
keepWhitespace = false
|
|
||||||
[minify.tdewolff.js]
|
|
||||||
[minify.tdewolff.json]
|
|
||||||
[minify.tdewolff.svg]
|
|
||||||
decimals = -1
|
|
||||||
[minify.tdewolff.xml]
|
|
||||||
keepWhitespace = true
|
|
|
@ -10,7 +10,7 @@
|
||||||
{{- if ge $limit 1 -}}
|
{{- if ge $limit 1 -}}
|
||||||
{{- $pages = $pages | first $limit -}}
|
{{- $pages = $pages | first $limit -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
<!-- {{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }} -->
|
||||||
<rss version="2.0"
|
<rss version="2.0"
|
||||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||||
|
|
Loading…
Reference in a new issue