1
Fork 0

Base64 encode content, so files are smaller and more compressable

This commit is contained in:
Jake Howard 2018-05-10 13:57:53 +01:00
parent 1e4cfebc41
commit ef6c17f3c0
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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>