repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
f67d924
parent
afce979
author
Eric Bower
date
2023-02-28 03:36:18 +0000 UTC
feat(prose,lists,imgs): Add rss alt link to blog page

Closes #9
3 files changed,  +5, -0
M imgs/html/blog.page.tmpl
+2, -0
1@@ -21,6 +21,8 @@
2 {{if .Header.Bio}}<meta property="twitter:description" content="{{.Header.Bio}}">{{end}}
3 <meta name="twitter:image" content="https://{{.Site.Domain}}/card.png" />
4 <meta name="twitter:image:src" content="https://{{.Site.Domain}}/card.png" />
5+
6+<link rel="alternate" href="{{.RSSURL}}" type="application/rss+xml" title="RSS feed for {{.Header.Title}}" />
7 {{end}}
8 
9 {{define "attrs"}}id="blog"{{end}}
M lists/html/blog.page.tmpl
+2, -0
1@@ -21,6 +21,8 @@
2 {{if .Header.Bio}}<meta property="twitter:description" content="{{.Header.Bio}}">{{end}}
3 <meta name="twitter:image" content="https://{{.Site.Domain}}/card.png" />
4 <meta name="twitter:image:src" content="https://{{.Site.Domain}}/card.png" />
5+
6+<link rel="alternate" href="{{.RSSURL}}" type="application/rss+xml" title="RSS feed for {{.Header.Title}}" />
7 {{end}}
8 
9 {{define "attrs"}}id="blog" class="layout-{{.Header.Layout}}"{{end}}
M prose/html/blog.page.tmpl
+1, -0
1@@ -34,6 +34,7 @@
2 <meta property="twitter:title" content="{{.Header.Title}}">
3 {{if .Header.Bio}}<meta property="twitter:description" content="{{.Header.Bio}}">{{end}}
4 
5+<link rel="alternate" href="{{.RSSURL}}" type="application/rss+xml" title="RSS feed for {{.Header.Title}}" />
6 <link rel="stylesheet" href="/syntax.css" />
7 {{if .HasCSS}}<link rel="stylesheet" href="{{.CssURL}}" />{{end}}
8 {{end}}