Remove atom templates
This commit is contained in:
parent
0a328b0ca2
commit
45362aec18
2 changed files with 0 additions and 49 deletions
10
config.yml
10
config.yml
|
@ -11,29 +11,19 @@ params:
|
|||
|
||||
summaryLength: 40
|
||||
|
||||
|
||||
mediaTypes:
|
||||
"application/atom":
|
||||
suffix: atom
|
||||
outputFormats:
|
||||
markdown:
|
||||
name: "txt"
|
||||
mediaType: "text/plain"
|
||||
isPlainText: true
|
||||
atom:
|
||||
name: "atom"
|
||||
mediaType: "application/atom"
|
||||
isPlainText: false
|
||||
outputs:
|
||||
home:
|
||||
- "html"
|
||||
- "rss"
|
||||
- "atom"
|
||||
- "json"
|
||||
section:
|
||||
- "html"
|
||||
- "rss"
|
||||
- "atom"
|
||||
- "txt"
|
||||
page:
|
||||
- "html"
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue