mirror of
https://github.com/nikdoof/dimension-sh-nikdoof-web.git
synced 2025-12-25 15:49:29 +00:00
Update for Kiln 0.3
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{{ `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<id>{{ index site.URLs 0 }}{{ .Permalink }}</id>
|
||||
<id>{{ index site.URLs 0 }}{{ .Path }}</id>
|
||||
<title>{{ .Title }}</title>
|
||||
<updated>{{ .Updated.Format "2006-01-02T15:04:05Z07:00" }}</updated>
|
||||
<link href="{{ index site.URLs 0 | safeURL }}{{ .Permalink }}" rel="alternate"/>
|
||||
<link href="{{ index site.URLs 0 | safeURL }}{{ .Path }}" rel="alternate"/>
|
||||
{{ range .Entries }}<entry>
|
||||
<id>{{ index site.URLs 0 }}{{ .Permalink }}</id>
|
||||
<id>{{ index site.URLs 0 }}{{ .Path }}</id>
|
||||
<title>{{ .Title }}</title>
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
|
||||
{{- $permalink := .Permalink }}
|
||||
{{- $permalink := .Path }}
|
||||
{{- range site.URLs }}
|
||||
<link href="{{ . | safeURL }}{{ $permalink }}" rel="alternate"/>
|
||||
{{- end }}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
{{ if .Content }}
|
||||
{{ .Content }}{{ end }}
|
||||
|
||||
{{ range .Pages }}=> /~nikdoof{{ .Permalink }} {{ if not .Date.IsZero -}}
|
||||
{{ range .Pages }}=> /~nikdoof{{ .Path }} {{ if not .Date.IsZero -}}
|
||||
{{.Date.Format "2006-01-02"}} {{end}}{{.Title}}
|
||||
{{ end -}}
|
||||
|
||||
Reference in New Issue
Block a user