Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
starters
starter-theme
Commits
2e2b0959
Commit
2e2b0959
authored
Mar 02, 2021
by
Laura Kalbag
⚡
Browse files
Merge commit 'b9c727b960405351914068be0e46ff6294daab1a' into starters-theme
parents
dc9cce4f
298edad2
Changes
2
Hide whitespace changes
Inline
Side-by-side
layouts/_default/list.atom.xml
View file @
2e2b0959
...
...
@@ -43,7 +43,7 @@
<published>
{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
</published>
<updated>
{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
</updated>
<content
type=
"html"
>
{{- .Content | safeHTML }}
<
p
><
a href=
"
{{ .Permalink }}
">
{{ i18n "readOriginalPost" . }}
'
{{ .Title }}
'
<
/a
>
.
<
/p
>
{{- .Content | safeHTML }}
<
p
><
a href=
"
{{ .Permalink }}
">
{{ i18n "readOriginalPost" . }}
<
/a
>
.
<
/p
>
</content>
</entry>
{{- end }}
...
...
layouts/_default/list.rss.xml
View file @
2e2b0959
...
...
@@ -21,7 +21,7 @@
<pubDate>
{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}
</pubDate>
{{- with .Site.Author.email }}
<author>
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}
</author>
{{end}}
<guid>
{{ .Permalink }}
</guid>
<description>
{{ .Content | html }}
<
p
><
a href=
"
{{ .Permalink }}
">
{{ i18n "readOriginalPost" . }}
'
{{ .Title }}
'
<
/a
>
.
<
/p
>
</description>
<description>
{{ .Content | html }}
<
p
><
a href=
"
{{ .Permalink }}
">
{{ i18n "readOriginalPost" . }}
<
/a
>
.
<
/p
>
</description>
</item>
{{- end }}
</channel>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment