repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

pico / pkg / apps / feeds / html
Eric Bower  ·  2026-01-08

digest.page.tmpl

 1<style>
 2img {
 3    max-width: 100%;
 4    height: auto;
 5}
 6
 7.feeds {
 8    max-width: 100%;
 9}
10</style>
11
12{{if .IsPicoPlus}}
13{{else}}
14<blockquote>
15  <strong>NOTICE:</strong> Our email digest service is moving to our paid <strong>pico+</strong> plan on <strong>2026-01-22</strong> at which point we will stop sending you email digests.
16 	<a href="https://blog.pico.sh/ann-033-moving-rss-to-email-pico-plus">read out annoucement</a>.
17</blockquote>
18<br />
19{{end}}
20
21{{if .SizeWarning}}
22<blockquote>
23  <strong>NOTICE:</strong> This email is over the size limit (5MB). Inline content has been disabled to avoid email delivery issues.
24  We recommend splitting your RSS feeds into multiple digests.
25</blockquote>
26<br />
27{{end}}
28
29{{if .ShowBanner}}
30<blockquote>
31  <strong>NOTICE:</strong> In order to keep this digest email active you must <a href="{{.KeepAliveURL}}">click this link</a>.
32  You have {{.DaysLeft}} days left.
33</blockquote>
34</br />
35{{end}}
36
37<div class="feeds">
38  {{range .Feeds}}
39  <div style="margin-bottom: 10px;">
40    <h1 style="margin-bottom: 3px;"><a href="{{.Link}}">{{.Title}}</a></h1>
41    <div>{{.Description}}</div>
42  </div>
43
44  <div class="summary">
45    <h2>Summary</h2>
46    {{range .Items}}
47    <ul>
48      <li><a href="{{.Link}}">{{.Title}}</a></li>
49    </ul>
50    {{end}}
51    <hr />
52  </div>
53
54  {{if $.Options.InlineContent}}
55  <div>
56    {{range .Items}}
57    <div>
58      <h1><a href="{{.Link}}">{{.Title}}</a></h1>
59      <div>{{.Description}}</div>
60      <div>{{.Content}}</div>
61    </div>
62    <hr />
63    {{end}}
64  </div>
65  {{end}}
66
67  <hr style="margin: 10px 0;" />
68  {{end}}
69</div>
70
71<blockquote>
72  <a href="{{.UnsubURL}}">unsubscribe</a> to this digest.
73</blockquote>