fix mp3 link
This commit is contained in:
parent
71c1fefe84
commit
032a9bd909
1 changed files with 4 additions and 5 deletions
|
@ -2,13 +2,12 @@
|
||||||
<link>{{ .Site.Params.baseURL }}{{ .Permalink | relURL }}</link>
|
<link>{{ .Site.Params.baseURL }}{{ .Permalink | relURL }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 GMT" }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 GMT" }}</pubDate>
|
||||||
<guid isPermaLink="true">
|
<guid isPermaLink="true">
|
||||||
{{- if and (ne .Params.external_mp3 "true") (ne .Params.external_mp3 "yes") -}}
|
{{- if and (ne .Params.external_mp3 "true") (ne .Params.external_mp3 "yes") (ne .Params.external_mp3 "1") -}}
|
||||||
{{ .Site.Params.baseURL | string }}
|
{{- .Site.Params.baseURL | string -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ .Site.Params.mp3HTTPPrefix }}
|
{{- .Site.Params.mp3HTTPPrefix -}}{{- .Params.mp3 | string -}}
|
||||||
{{ .Params.mp3 | string }}
|
|
||||||
</guid>
|
</guid>
|
||||||
<enclosure length="{{ .Params.length | string }}" url="{{ .Site.Params.statsPrefix }}{{- if and (ne .Params.external_mp3 "true") (ne .Params.external_mp3 "yes") -}}{{ .Site.Params.baseURL | string }}{{- end -}}{{ .Params.mp3 | string }}" type="audio/mpeg"/>
|
<enclosure length="{{ .Params.length | string }}" url="{{ .Site.Params.statsPrefix }}{{- if and (ne .Params.external_mp3 "true") (ne .Params.external_mp3 "yes") (ne .Params.external_mp3 "1") -}}{{- .Site.Params.baseURL | string -}}{{- end -}}{{- .Params.mp3 | string -}}" type="audio/mpeg"/>
|
||||||
<description>
|
<description>
|
||||||
{{ `<![CDATA[` | safeHTML }}
|
{{ `<![CDATA[` | safeHTML }}
|
||||||
{{ .Content | safeHTML | truncate 3900 }}<br /><br />
|
{{ .Content | safeHTML | truncate 3900 }}<br /><br />
|
||||||
|
|
Loading…
Reference in a new issue