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"?>
|
||||
<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>
|
||||
<link href="{{ .Permalink }}" rel="self" />
|
||||
<link href="{{ absURL "/" }}" />
|
||||
|
@ -26,9 +26,9 @@
|
|||
<rights type="html">
|
||||
{{ partial "copyright.html" . | html }}
|
||||
</rights>
|
||||
<summary>{{ .Summary }}</summary>
|
||||
<content type="html">
|
||||
{{ .Content | html }}
|
||||
<summary>{{ base64Encode .Summary }}</summary>
|
||||
<content>
|
||||
{{ base64Encode .Content }}
|
||||
</content>
|
||||
<author>
|
||||
<name>{{ .Site.Params.author }}</name>
|
||||
|
|
Loading…
Reference in a new issue