Base64 encode content, so files are smaller and more compressable
This commit is contained in:
parent
1e4cfebc41
commit
ef6c17f3c0
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title type="text">{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<subtitle>A subtitle.</subtitle>
|
<subtitle>A subtitle.</subtitle>
|
||||||
<link href="{{ .Permalink }}" rel="self" />
|
<link href="{{ .Permalink }}" rel="self" />
|
||||||
<link href="{{ absURL "/" }}" />
|
<link href="{{ absURL "/" }}" />
|
||||||
|
@ -26,9 +26,9 @@
|
||||||
<rights type="html">
|
<rights type="html">
|
||||||
{{ partial "copyright.html" . | html }}
|
{{ partial "copyright.html" . | html }}
|
||||||
</rights>
|
</rights>
|
||||||
<summary>{{ .Summary }}</summary>
|
<summary>{{ base64Encode .Summary }}</summary>
|
||||||
<content type="html">
|
<content>
|
||||||
{{ .Content | html }}
|
{{ base64Encode .Content }}
|
||||||
</content>
|
</content>
|
||||||
<author>
|
<author>
|
||||||
<name>{{ .Site.Params.author }}</name>
|
<name>{{ .Site.Params.author }}</name>
|
||||||
|
|
Loading…
Reference in a new issue