summaryrefslogtreecommitdiff
path: root/openring-template.html
diff options
context:
space:
mode:
Diffstat (limited to 'openring-template.html')
-rw-r--r--openring-template.html47
1 files changed, 0 insertions, 47 deletions
diff --git a/openring-template.html b/openring-template.html
deleted file mode 100644
index 675c623..0000000
--- a/openring-template.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<section class="webring" style="margin-top: 128px;">
- <h2>Articles from blogs I read</h2>
- <section class="articles">
- {{range .Articles}}
- <div class="article">
- <h3 class="title">
- <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
- </h3>
- <p class="summary">{{.Summary}}</p>
- <div class="source">
- via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
- </div>
- <div class="date">{{.Date | datef "January 2, 2006"}}</div>
- </div>
- {{end}}
- </section>
- <div class="attribution">
- <small>
- Generated by
- <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
- </small>
- </div>
-</section>
-<style>
-.webring .articles {
- display: flex;
- flex-wrap: wrap;
- margin: -0.5rem;
-}
-.webring .title {
- margin: 0;
-}
-.webring .article {
- flex: 1 1 0;
- display: flex;
- flex-direction: column;
- margin: 0.5rem;
- padding: 0.5rem;
- min-width: 10rem;
-}
-.webring .summary {
- flex: 1 1 0;
-}
-.webring .attribution {
- text-align: right;
-}
-</style>