1
Fork 0

Remove atom templates

This commit is contained in:
Jake Howard 2018-05-11 09:35:20 +01:00
parent 0a328b0ca2
commit 45362aec18
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 0 additions and 49 deletions

View file

@ -11,29 +11,19 @@ params:
summaryLength: 40 summaryLength: 40
mediaTypes:
"application/atom":
suffix: atom
outputFormats: outputFormats:
markdown: markdown:
name: "txt" name: "txt"
mediaType: "text/plain" mediaType: "text/plain"
isPlainText: true isPlainText: true
atom:
name: "atom"
mediaType: "application/atom"
isPlainText: false
outputs: outputs:
home: home:
- "html" - "html"
- "rss" - "rss"
- "atom"
- "json" - "json"
section: section:
- "html" - "html"
- "rss" - "rss"
- "atom"
- "txt" - "txt"
page: page:
- "html" - "html"

View file

@ -1,39 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<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 "/" }}" />
<id>{{ .Permalink }}</id>
<updated>{{ now.Format .Site.Params.iso8601 }}</updated>
<icon>{{ absURL "/img/logo-transparent.png" }}</icon>
<logo>{{ absURL "/img/logo-transparent.png" }}</icon>
<author>
<name>{{ .Site.Params.author }}</name>
<uri>{{ absURL "/" }}</uri>
</author>
<rights type="html">
{{ partial "copyright.html" . | html }}
</rights>
{{ range .Data.Pages }}
<entry>
<title>{{ .Title }}</title>
<link href="{{ .Permalink }}" />
<id>{{ .Permalink }}</id>
<updated>{{ .Date.Format .Site.Params.iso8601 }}</updated>
<published>{{ .Date.Format .Site.Params.iso8601 }}</published>
<rights type="html">
{{ partial "copyright.html" . | html }}
</rights>
<summary>{{ base64Encode .Summary }}</summary>
<content>
{{ base64Encode .Content }}
</content>
<author>
<name>{{ .Site.Params.author }}</name>
<uri>{{ absURL "/" }}</uri>
</author>
</entry>
{{ end }}
</feed>