diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/openring-template.html | 23 | ||||
-rw-r--r-- | templates/page.html | 14 |
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> |