repos / pico

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

commit
3816926
parent
37aba8d
author
Eric Bower
date
2023-01-23 15:16:25 +0000 UTC
fix(feeds): when inline_content is false we should only send summary in
email
1 files changed,  +2, -3
M feeds/html/digest.page.tmpl
+2, -3
 1@@ -26,19 +26,18 @@ img {
 2     <hr />
 3 </div>
 4 
 5+{{if $.Options.InlineContent}}
 6 <div>
 7     {{range .Items}}
 8     <div>
 9         <h1><a href="{{.Link}}">{{.Title}}</a></h1>
10         <div>{{.Description}}</div>
11-        {{if $.Options.InlineContent}}
12-        <div>{{.Description}}</div>
13         <div>{{.Content}}</div>
14-        {{end}}
15     </div>
16     <hr />
17     {{end}}
18 </div>
19+{{end}}
20 
21 <hr style="margin: 10px 0;" />
22 {{end}}