summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-04-21 15:04:56 +0300
committereug-vs <eugene@eug-vs.xyz>2022-04-21 15:04:56 +0300
commit24639575c32e48a3db46e06be6a3a25cd80e8991 (patch)
treec8d86d84ce9581a65471d0d4aa6720b4506fe6ae /templates
parent0b7bc99af62aa53148b7fcede648e5dfb6e2ca22 (diff)
downloadeug-vs-xyz-24639575c32e48a3db46e06be6a3a25cd80e8991.tar.gz
refactor: change prject structure
Diffstat (limited to 'templates')
-rw-r--r--templates/openring-template.html23
-rw-r--r--templates/page.html14
2 files changed, 37 insertions, 0 deletions
diff --git a/templates/openring-template.html b/templates/openring-template.html
new file mode 100644
index 0000000..be91912
--- /dev/null
+++ b/templates/openring-template.html
@@ -0,0 +1,23 @@
+<sectiong style="margin-top: 128px;">
+ <h2>Articles from blogs I read</h2>
+ <section>
+ {{range .Articles}}
+ <div>
+ <h3>
+ <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
+ </h3>
+ <p>{{.Summary}}</p>
+ <div>
+ via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
+ </div>
+ <div>{{.Date | datef "January 2, 2006"}}</div>
+ </div>
+ {{end}}
+ </section>
+ <div>
+ <small>
+ Generated by
+ <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
+ </small>
+ </div>
+</section>
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..3600409
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,14 @@
+<html>
+ <head>
+ <link rel="shortcut icon" type="image/jpg" href="/public/icon-64.png"/>
+ </head>
+ <body>
+ <header class="display: inline">
+ <a href="/" style="text-decoration: none;">
+ <img src="/public/eug-vs.png" alt="eug-vs" width="128px"> <h1 style="margin-top: 12px;">Eugene's Space</h1>
+ </a>
+ </header>
+ <main>
+ </main>
+ </body>
+</html>