about summary refs log tree commit diff
path: root/webring.template
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2022-11-09 15:32:42 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2022-11-09 15:32:42 +0700
commitc4ffed21ab5fbba59f29e68995f0f9397f793266 (patch)
treea43732712cb08f7198f6f9c44018b25e0ed7d8fe /webring.template
parent2e2068637412d271e9754c6c3d8afa1ac8e74588 (diff)
downloadblog-c4ffed21ab5fbba59f29e68995f0f9397f793266.tar.gz
Move from openring to fead
Diffstat (limited to 'webring.template')
-rw-r--r--webring.template30
1 files changed, 6 insertions, 24 deletions
diff --git a/webring.template b/webring.template
index 1d0ce52..14ed9f7 100644
--- a/webring.template
+++ b/webring.template
@@ -1,30 +1,12 @@
-<section class="webring">
-  <h2>Fediring</h2>
-  Look at my fedi fellows' sites:
-  <ol>
-    <li style="list-style-type: '← ';"><a href="https://fediring.net/previous?host=xrvs.net">Previous site</a></li>
-    <li style="list-style-type: '? ';"><a href="https://fediring.net/">What is Fediring?</a></li>
-    <li style="list-style-type: '→ ';"><a href="https://fediring.net/next?host=xrvs.net">Next site</a></li>
-  </ol>
-  <h2>Articles from blogs I read</h2>
-  <section class="articles">
-    {{range .Articles}}
-    <div class="footer-col article">
+    <article class="footer-col article">
       <h3 class="title">
         <small>
-        <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
+        <a href="{link}" target="_blank" rel="noopener">{title}</a>
         </small>
       </h3>
-      <p class="summary">{{.Summary}}</p>
+      <p class="summary">{summary}</p>
       <small class="source">
-        via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
+        via <a href="{source_link}">{source_title}</a>
       </small>
-      <small class="date">{{.Date | date}}</small>
-    </div>
-    {{end}}
-  </section>
-  <small class="attribution">
-    Generated by
-    <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
-  </small>
-</section>
+      <small class="date">{time:%F}</small>
+    </article>