about summary refs log tree commit diff homepage
path: root/_templates/openring.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-20 23:42:32 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-21 12:41:36 +0700
commit3fae5dd37c658eb185fec2ad99dd11cacf97b7bb (patch)
tree80e44fb2a0f7e5f62f7dd2db7d15cce144618398 /_templates/openring.html
parent822a8410c29cf37be4ff5f288e9292db9b873497 (diff)
downloadsite-3fae5dd37c658eb185fec2ad99dd11cacf97b7bb.tar.gz
Add openring
Diffstat (limited to '_templates/openring.html')
-rw-r--r--_templates/openring.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/_templates/openring.html b/_templates/openring.html
new file mode 100644
index 0000000..a585f17
--- /dev/null
+++ b/_templates/openring.html
@@ -0,0 +1,12 @@
+<section class=openring>
+  {{range .Articles}}
+  <div class=article>
+    <h3 class=title><a href='{{.Link}}'>{{.Title}}</a></h3>
+    {{.Summary}}<br>
+    <small class=right>&mdash;<a href='{{.SourceLink}}'>{{.SourceTitle}}</a>,
+      {{.Date | datef "2006-01-02"}}</small>
+  </div>
+  {{end}}
+</section>
+<small class=right>Generated by
+  <a href=https://git.sr.ht/~sircmpwn/openring>openring</a></small>