mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-28 10:35:39 -04:00
clean up a bunch of layouts, especially social-images function
also made even more config.toml parameters optional, will help when finally releasing theme
This commit is contained in:
+3
-2
@@ -1,3 +1,4 @@
|
||||
{{- $img := partial "functions/social-images" . -}}
|
||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
@@ -10,8 +11,8 @@
|
||||
{{- with .Site.Copyright }}
|
||||
<rights>{{ . }}</rights>
|
||||
{{- end }}
|
||||
{{- with .Site.Params.defaultImage }}
|
||||
<logo>{{ . | absURL }}</logo>
|
||||
{{- with .Scratch.Get "authorImage" }}
|
||||
<logo>{{ .Permalink }}</logo>
|
||||
{{- end }}
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
||||
{{- with .OutputFormats.Get "ATOM" }}
|
||||
|
||||
Reference in New Issue
Block a user