aboutsummaryrefslogtreecommitdiff
path: root/generators
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-08-15 21:58:57 -0400
committerThedro Neely <thedroneely@gmail.com>2019-08-15 21:58:57 -0400
commit5eaad4d641a20b5bc7c3dea43d2cadc94e8019f3 (patch)
treedb2e9c300475e664a1fb8e9c7a67b061d96b3e00 /generators
parent2e538b87c9fb2669ce06294b3df53d13fc8d97e3 (diff)
downloadthedroneely.com-5eaad4d641a20b5bc7c3dea43d2cadc94e8019f3.tar.gz
thedroneely.com-5eaad4d641a20b5bc7c3dea43d2cadc94e8019f3.tar.bz2
thedroneely.com-5eaad4d641a20b5bc7c3dea43d2cadc94e8019f3.zip
generators/openring/template.html: Add openring template
Diffstat (limited to 'generators')
-rw-r--r--generators/openring/template.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/generators/openring/template.html b/generators/openring/template.html
new file mode 100644
index 0000000..f599e9f
--- /dev/null
+++ b/generators/openring/template.html
@@ -0,0 +1,30 @@
+<section class="webring">
+
+ <h3>On the Web</h3>
+
+ <section class="articles">
+ <div class="columns is-tablet is-centered">
+ {{range .Articles}}
+
+ <div class="column is-4">
+ <div class="tile is-ancestor">
+ <div class="tile is-parent">
+ <article class="tile is-child box is-shadowless">
+ <h2><a href="{{.Link}}" target="_blank" rel="noopener" class="serif is-size-4">{{.Title}}</a></h2>
+ <p class="summary">{{ .Summary }}</p>
+ <small class="source is-block">by <a href="{{.SourceLink}}">{{ .SourceTitle }}</a></small>
+ <small class="date has-text-grey-dark">{{ .Date | date }}</small>
+ </article>
+ </div>
+ </div>
+ </div>
+
+ {{end}}
+ </div>
+ </section>
+
+ <br>
+
+ <p class="attribution has-text-right">Generated by <a href="https://git.sr.ht/~sircmpwn/openring">Open Ring</a></p>
+
+</section>