1diff --git a/.build.yml b/.build.yml
2index d58a4e66f1c467d6633f25f01c3e76b273c7826a..d38abf1d65af20937b392daccbcefd68300e33b9 100644
3--- a/.build.yml
4+++ b/.build.yml
5@@ -1,7 +1,13 @@
6 image: alpine/latest
7 packages:
8 - rsync
9+ - go
10 - hugo
11+ - make
12+
13+sources:
14+ - https://git.sr.ht/~gabrielgio/gabrielgio.me
15+ - https://git.sr.ht/~sircmpwn/openring
16
17 secrets:
18 - 008c4f67-b864-47f8-9790-cd32f2ae8516
19@@ -10,9 +16,13 @@ environment:
20 deploy: builds@gabrielgio.me
21
22 tasks:
23+ - openring: |
24+ cd openring
25+ go build -o openring
26+ sudo cp openring /usr/local/bin/
27 - build: |
28 cd gabrielgio.me
29- hugo
30+ make
31 - deploy: |
32 cd gabrielgio.me
33 sshopts="ssh -o StrictHostKeyChecking=no"
34diff --git a/.gitignore b/.gitignore
35index 364fdec1aa19d3a1f8d926d500c0beffe5674be8..b6a10615e56543164a2d6c83b0b25a03d6c233a1 100644
36--- a/.gitignore
37+++ b/.gitignore
38@@ -1 +1,3 @@
39 public/
40+
41+openring.html
42diff --git a/Makefile b/Makefile
43new file mode 100644
44index 0000000000000000000000000000000000000000..7bdc6d14fb71db0af2ddd1b56b205036792d6fac
45--- /dev/null
46+++ b/Makefile
47@@ -0,0 +1,16 @@
48+
49+
50+all: openring
51+ hugo
52+
53+serve: openring
54+ hugo serve
55+
56+
57+openring:
58+ openring -n 6 \
59+ -s https://drewdevault.com/blog/index.xml \
60+ -s https://mazzo.li/rss.xml \
61+ -s https://blog.golang.org/feed.atom \
62+ < webring.template \
63+ > themes/flamingo/layouts/partials/openring.html
64diff --git a/themes/flamingo/layouts/index.html b/themes/flamingo/layouts/index.html
65index c1424359ba92699a7d03e19e632b8d4400a8fd97..0e07e11d6c972f636580bc98a06e9c4cd0d533e4 100644
66--- a/themes/flamingo/layouts/index.html
67+++ b/themes/flamingo/layouts/index.html
68@@ -7,7 +7,13 @@ {{ range .Paginator.Pages }}
69 {{ .Render "summary" }}
70 {{ end }}
71 </div>
72- <!-- {{ partial "pagination.html" . }} -->
73+ <div>
74+ <h3>WHAT I READ</h3>
75+ </div>
76+ <div>
77+ <ul>
78+ {{ partial "openring.html" . }}
79+ </ul>
80+ </div>
81 </main>
82-<!-- {{ partial "sidebar.html" . }} -->
83 {{ end }}
84diff --git a/themes/flamingo/layouts/partials/sidebar.html b/themes/flamingo/layouts/partials/sidebar.html
85index 9070f565bca46b6e751f11c1b6b7b8d22183d2b4..c7288f0404c1d6734ac00193c45ba8c6aa1484bf 100644
86--- a/themes/flamingo/layouts/partials/sidebar.html
87+++ b/themes/flamingo/layouts/partials/sidebar.html
88@@ -1,6 +1,15 @@
89 <aside>
90 <div>
91 <div>
92+ <h3>WHAT I READ</h3>
93+ </div>
94+ <div>
95+ <ul>
96+ {{ partial "openring.html" . }}
97+ </ul>
98+ </div>
99+
100+ <div>
101 <h3>LATEST POSTS</h3>
102 </div>
103 <div>
104diff --git a/webring.template b/webring.template
105new file mode 100644
106index 0000000000000000000000000000000000000000..6faebe723aa98799964f7714351c6848ce625d03
107--- /dev/null
108+++ b/webring.template
109@@ -0,0 +1,4 @@
110+{{range .Articles}}
111+<li>[<a href="{{.SourceLink}}">{{.SourceTitle}}</a>] <a href="{{ .Link }}">{{ .Title }}</a></li>
112+{{end}}
113+