repos / pico

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

commit
ee10b32
parent
691db43
author
Eric Bower
date
2022-08-23 18:39:48 +0000 UTC
style: add some margin between articles
5 files changed,  +5, -5
M lists/html/blog.page.tmpl
+1, -1
1@@ -52,7 +52,7 @@
2             <a href="{{.URL}}">clear filters</a>
3         {{end}}
4         {{range .Posts}}
5-        <article>
6+        <article class="my">
7             <div class="flex items-center">
8                 <time datetime="{{.UpdatedAtISO}}" class="font-italic text-sm post-date">{{.UpdatedTimeAgo}}</time>
9                 <div class="font-bold flex-1"><a href="{{.URL}}">{{.Title}}</a></div>
M lists/html/read.page.tmpl
+1, -1
1@@ -18,7 +18,7 @@
2         {{if .NextPage}}<a href="{{.NextPage}}">next</a>{{else}}<span class="text-grey">next</span>{{end}}
3     </div>
4     {{range .Posts}}
5-    <article>
6+    <article class="my">
7         <div class="flex items-center">
8             <time datetime="{{.UpdatedAtISO}}" class="font-italic text-sm post-date">{{.UpdatedTimeAgo}}</time>
9             <div class="flex-1">
M pastes/html/blog.page.tmpl
+1, -1
1@@ -33,7 +33,7 @@
2 <main>
3     <section class="posts">
4         {{range .Posts}}
5-        <article>
6+        <article class="my">
7             <div class="flex items-center">
8                 <time datetime="{{.PublishAtISO}}" class="font-italic text-sm post-date">{{.PublishAt}}</time>
9                 <div class="font-bold flex-1"><a href="{{.URL}}">{{.Title}}</a></div>
M prose/html/blog.page.tmpl
+1, -1
1@@ -55,7 +55,7 @@
2             <a href={{.URL}}>clear filters</a>
3         {{end}}
4         {{range .Posts}}
5-        <article>
6+        <article class="my">
7             <div class="flex items-center">
8                 <time datetime="{{.PublishAtISO}}" class="font-italic text-sm post-date">{{.PublishAt}}</time>
9                 <div class="font-bold flex-1"><a href="{{.URL}}">{{.Title}}</a></div>
M prose/html/read.page.tmpl
+1, -1
1@@ -21,7 +21,7 @@
2         {{if .NextPage}}<a href="{{.NextPage}}">next</a>{{else}}<span class="text-grey">next</span>{{end}}
3     </div>
4     {{range .Posts}}
5-    <article>
6+    <article class="my">
7         <div class="flex items-center">
8             <time datetime="{{.PublishAtISO}}" class="font-italic text-sm post-date">{{.PublishAt}}</time>
9             <div class="flex-1">