mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 17:30:28 -04:00
atom feed shortcode fixes
This commit is contained in:
parent
51101e7865
commit
bfc11b4600
@ -1,21 +1,24 @@
|
||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ .Site.LanguageCode }}">
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{ .Site.Title }}</title>
|
||||
<id>{{ "/" | absLangURL }}</id>
|
||||
<id>{{ .Permalink }}</id>
|
||||
<author>
|
||||
<name>{{ .Site.Title }}</name>
|
||||
<uri>{{ .Permalink }}</uri>
|
||||
</author>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
{{- with .Site.Copyright }}
|
||||
<rights>{{ . }}</rights>
|
||||
{{- end }}
|
||||
{{- with .Site.Params.defaultImage }}
|
||||
<logo>{{ . | absURL }}</logo>
|
||||
{{- end }}
|
||||
<updated>{{ dateFormat "2006-01-02T15:04:05Z" now.UTC | safeHTML }}</updated>
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
||||
{{- with .OutputFormats.Get "ATOM" }}
|
||||
{{ printf `<link rel="self" type="%s" href="%s" />` .MediaType.Type .Permalink $.Site.LanguageCode | safeHTML }}
|
||||
{{ printf `<link rel="self" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
|
||||
{{- end }}
|
||||
{{- range .AlternativeOutputFormats }}
|
||||
{{ printf `<link rel="alternate" type="%s" href="%s" />` .MediaType.Type .Permalink $.Site.LanguageCode | safeHTML }}
|
||||
{{ printf `<link rel="alternate" type="%s" href="%s" />` .MediaType.Type .Permalink | safeHTML }}
|
||||
{{- end }}
|
||||
{{- range (where .Site.RegularPages "Section" "notes") }}
|
||||
<entry>
|
||||
@ -27,7 +30,8 @@
|
||||
</author>
|
||||
{{- end }}
|
||||
<id>{{ .Permalink }}</id>
|
||||
<published>{{ dateFormat "2006-01-02T15:04:05Z" .Date.UTC | safeHTML }}</published>
|
||||
<published>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</published>
|
||||
<updated>{{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}</updated>
|
||||
<content type="html">
|
||||
{{ .Content | html }}
|
||||
</content>
|
||||
|
1
layouts/shortcodes/codepen.atom.xml
Symbolic link
1
layouts/shortcodes/codepen.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
codepen.rss.xml
|
1
layouts/shortcodes/facebook.atom.xml
Symbolic link
1
layouts/shortcodes/facebook.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
facebook.rss.xml
|
1
layouts/shortcodes/gh-buttons.atom.xml
Symbolic link
1
layouts/shortcodes/gh-buttons.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
gh-buttons.rss.xml
|
1
layouts/shortcodes/gist.atom.xml
Symbolic link
1
layouts/shortcodes/gist.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
gist.rss.xml
|
1
layouts/shortcodes/image.atom.xml
Symbolic link
1
layouts/shortcodes/image.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
image.rss.xml
|
1
layouts/shortcodes/instagram.atom.xml
Symbolic link
1
layouts/shortcodes/instagram.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
instagram.rss.xml
|
1
layouts/shortcodes/tweet.atom.xml
Symbolic link
1
layouts/shortcodes/tweet.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
tweet.rss.xml
|
1
layouts/shortcodes/video.atom.xml
Symbolic link
1
layouts/shortcodes/video.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
video.rss.xml
|
1
layouts/shortcodes/vimeo.atom.xml
Symbolic link
1
layouts/shortcodes/vimeo.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
vimeo.rss.xml
|
1
layouts/shortcodes/youtube.atom.xml
Symbolic link
1
layouts/shortcodes/youtube.atom.xml
Symbolic link
@ -0,0 +1 @@
|
||||
youtube.rss.xml
|
@ -1613,9 +1613,9 @@ ee-first@1.1.1:
|
||||
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
|
||||
|
||||
electron-to-chromium@^1.3.390:
|
||||
version "1.3.397"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.397.tgz#db640c2e67b08d590a504c20b56904537aa2bafa"
|
||||
integrity sha512-zcUd1p/7yzTSdWkCTrqGvbnEOASy96d0RJL/lc5BDJoO23Z3G/VHd0yIPbguDU9n8QNUTCigLO7oEdtOb7fp2A==
|
||||
version "1.3.398"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.398.tgz#4c01e29091bf39e578ac3f66c1f157d92fa5725d"
|
||||
integrity sha512-BJjxuWLKFbM5axH3vES7HKMQgAknq9PZHBkMK/rEXUQG9i1Iw5R+6hGkm6GtsQSANjSUrh/a6m32nzCNDNo/+w==
|
||||
|
||||
elegant-spinner@^1.0.1:
|
||||
version "1.0.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user