aboutsummaryrefslogtreecommitdiff
path: root/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates.go')
-rw-r--r--templates.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates.go b/templates.go
index 0537f7c..e768c60 100644
--- a/templates.go
+++ b/templates.go
@@ -49,6 +49,17 @@ const htmlRoot = `
word-wrap: break-word;
white-space: pre-line;
}
+ div#images {
+ padding-left: 1em;
+ }
+ img {
+ max-height: 200px;
+ max-width: 200px;
+ height: auto;
+ width: auto;
+ border-radius: 12px;
+ padding: 0.2em;
+ }
</style>
</head>
<body>
@@ -63,7 +74,7 @@ const htmlRoot = `
</main>
<hr>
<footer>
- <small>Generated by fbfeed &middot; <a href="/{{name}}.rss">rss feed</a></small>
+ <small>Generated by <a href="https://git.vty.se/fbfeed.git/about/">fbfeed</a> &middot; <a href="/{{name}}.rss">rss feed</a></small>
</footer>
</body>
@@ -74,5 +85,6 @@ const htmlItem = `
<article>
<datetime>{{time}}</datetime>
<pre>{{content}}</pre>
+<div id="images">{{images}}</div>
</article>
`