parent
fd70e7a0fa
commit
ffd9b46bd8
19 changed files with 122 additions and 119 deletions
@ -1,13 +0,0 @@ |
|||||||
+++ |
|
||||||
author = "Maik de Kruif" |
|
||||||
title = "{{ replace .Name "-" " " | title }}" |
|
||||||
date = {{ .Date }} |
|
||||||
description = "" |
|
||||||
images = [] |
|
||||||
tags = [ |
|
||||||
"untagged", |
|
||||||
] |
|
||||||
categories = [ |
|
||||||
"uncategorized", |
|
||||||
] |
|
||||||
+++ |
|
@ -1,13 +0,0 @@ |
|||||||
+++ |
|
||||||
author = "Maik de Kruif" |
|
||||||
title = "{{ replace .Name "-" " " | title }}" |
|
||||||
date = {{ .Date }} |
|
||||||
description = "" |
|
||||||
images = [] |
|
||||||
tags = [ |
|
||||||
"untagged", |
|
||||||
] |
|
||||||
categories = [ |
|
||||||
"uncategorized", |
|
||||||
] |
|
||||||
+++ |
|
@ -0,0 +1,5 @@ |
|||||||
|
baseURL = "https://maik.dev/" |
||||||
|
|
||||||
|
[services] |
||||||
|
[services.googleAnalytics] |
||||||
|
id = "UA-136337666-1" |
@ -1,13 +0,0 @@ |
|||||||
+++ |
|
||||||
author = "Maik de Kruif" |
|
||||||
title = "{{ replace .Name "-" " " | title }}" |
|
||||||
date = {{ .Date }} |
|
||||||
description = "" |
|
||||||
cover = "" |
|
||||||
tags = [ |
|
||||||
"untagged", |
|
||||||
] |
|
||||||
categories = [ |
|
||||||
"uncategorized", |
|
||||||
] |
|
||||||
+++ |
|
@ -0,0 +1,45 @@ |
|||||||
|
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"> |
||||||
|
<channel> |
||||||
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> |
||||||
|
<icon>{{"favicon-32x32.png" | absURL}}</icon> |
||||||
|
<link>{{ .Permalink }}</link> |
||||||
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description> |
||||||
|
{{- with .Site.LanguageCode }} |
||||||
|
<language>{{.}}</language> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Params.author.email }} |
||||||
|
<managingEditor>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</managingEditor> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Params.author.email }} |
||||||
|
<webMaster>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</webMaster> |
||||||
|
{{- end }} |
||||||
|
{{- with .Site.Copyright }} |
||||||
|
<copyright>{{.}}</copyright> |
||||||
|
{{- end }} |
||||||
|
{{- if not .Date.IsZero }} |
||||||
|
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate> |
||||||
|
{{- end }} |
||||||
|
{{- with .OutputFormats.Get "RSS" }} |
||||||
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} |
||||||
|
{{- end }} |
||||||
|
{{ range .RegularPagesRecursive | first .Site.Params.rssLimit }} |
||||||
|
<item> |
||||||
|
<title>{{ .Title }}{{ with .Params.Subtitle }} // {{ . }}{{ end }}</title> |
||||||
|
<link>{{ .Permalink }}</link> |
||||||
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> |
||||||
|
<published>{{ .Date.Format "2006-01-02T15:04:05Z0700" | safeHTML }}</published> |
||||||
|
{{- if .GitInfo }} |
||||||
|
<updated>{{ dateFormat "2006-01-02T15:04:05Z0700" .GitInfo.AuthorDate.Local | safeHTML }}</updated> |
||||||
|
{{- end }} |
||||||
|
<author>{{ .Params.author }}</author> |
||||||
|
<guid isPermaLink="true">{{ .Permalink }}</guid> |
||||||
|
<description>{{ printf `<![CDATA[%s]]>` .Params.description | safeHTML }}</description> |
||||||
|
{{ $content := .Content}} |
||||||
|
{{- if .Params.Cover }} |
||||||
|
{{- $content = (printf `%s%s` (partial "image.html" (dict "path" .Params.Cover "alt" (.Title | plainify) "class" "post-cover")) $content) }} |
||||||
|
{{- end }} |
||||||
|
<content:encoded type="html">{{ printf `<![CDATA[%s]]>` $content | safeHTML }}</content:encoded> |
||||||
|
</item> |
||||||
|
{{ end }} |
||||||
|
</channel> |
||||||
|
</rss> |
Loading…
Reference in new issue