about summary refs log tree commit diff
path: root/webring.template
diff options
context:
space:
mode:
authorHuy-Ngo <duchuy29092000@gmail.com>2021-01-11 15:13:50 +0700
committerHuy-Ngo <duchuy29092000@gmail.com>2021-01-11 15:13:54 +0700
commit3c4cfb45a33f4835f76893fde7198d132774b57c (patch)
tree46a6cc4ea479bac65835f871371a1a2000484fdf /webring.template
parentadfa1dad82c1730f45f7176cda86c1dc42ef8c11 (diff)
downloadblog-3c4cfb45a33f4835f76893fde7198d132774b57c.tar.gz
Add webring
Diffstat (limited to 'webring.template')
-rw-r--r--webring.template25
1 files changed, 25 insertions, 0 deletions
diff --git a/webring.template b/webring.template
new file mode 100644
index 0000000..d107318
--- /dev/null
+++ b/webring.template
@@ -0,0 +1,25 @@
+<div class="wrapper">
+  <section class="webring">
+    <h2>
+      Articles from blogs I read
+      <small class="attribution">
+        Generated by
+        <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
+      </small>
+    </h2>
+    <section class="footer-col-wrapper">
+      {{range .Articles}}
+      <div class="footer-col article">
+        <h4 class="title">
+          <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
+        </h4>
+        <p class="summary">{{.Summary}}</p>
+        <small class="source">
+          via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
+        </small>
+        <small class="date">{{.Date | date}}</small>
+      </div>
+      {{end}}
+    </section>
+  </section>
+</div>