From ef6c17f3c0c0a3a992c1df149cdf86c557c46122 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 10 May 2018 13:57:53 +0100 Subject: [PATCH] Base64 encode content, so files are smaller and more compressable --- layouts/_default/list.atom | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/list.atom b/layouts/_default/list.atom index 986e255..b90a475 100644 --- a/layouts/_default/list.atom +++ b/layouts/_default/list.atom @@ -1,6 +1,6 @@ - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} A subtitle. @@ -26,9 +26,9 @@ {{ partial "copyright.html" . | html }} - {{ .Summary }} - - {{ .Content | html }} + {{ base64Encode .Summary }} + + {{ base64Encode .Content }} {{ .Site.Params.author }}