summaryrefslogtreecommitdiff
path: root/templates/openring.html
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-21 16:06:07 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-21 16:06:07 +0300
commit98d85738e0eb7f21669f78420d5e3a457117de66 (patch)
treeb26b977766a2291cd87b16ba3ecf985beb915d26 /templates/openring.html
parent24639575c32e48a3db46e06be6a3a25cd80e8991 (diff)
downloadeug-vs-xyz-98d85738e0eb7f21669f78420d5e3a457117de66.tar.gz
feat: setup templates
Diffstat (limited to 'templates/openring.html')
-rw-r--r--templates/openring.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/openring.html b/templates/openring.html
new file mode 100644
index 0000000..be91912
--- /dev/null
+++ b/templates/openring.html
@@ -0,0 +1,23 @@
+<sectiong style="margin-top: 128px;">
+ <h2>Articles from blogs I read</h2>
+ <section>
+ {{range .Articles}}
+ <div>
+ <h3>
+ <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
+ </h3>
+ <p>{{.Summary}}</p>
+ <div>
+ via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
+ </div>
+ <div>{{.Date | datef "January 2, 2006"}}</div>
+ </div>
+ {{end}}
+ </section>
+ <div>
+ <small>
+ Generated by
+ <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
+ </small>
+ </div>
+</section>