aboutsummaryrefslogtreecommitdiff
path: root/templates/pages/image.tmpl
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2020-06-27 21:23:44 -0700
committerMax Resnick <max@ofmax.li>2020-07-26 22:16:40 -0700
commit77c2e6aca2dc0f851f55e30a0f49c9ee7c2c952e (patch)
treebf5b062468b21c9b61d96e2d73dfbc183fc58dc9 /templates/pages/image.tmpl
parent85e7eaa3a1c9024c02cc9a63744cdfb144cc3737 (diff)
downloadiserv-77c2e6aca2dc0f851f55e30a0f49c9ee7c2c952e.tar.gz
adds post meta, basic template for single image
Diffstat (limited to 'templates/pages/image.tmpl')
-rw-r--r--templates/pages/image.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/pages/image.tmpl b/templates/pages/image.tmpl
index 4c9b7b0..fcebdd5 100644
--- a/templates/pages/image.tmpl
+++ b/templates/pages/image.tmpl
@@ -1,11 +1,12 @@
{{ define "content" }}
<body>
<div>
- <h3>Image</h3>
+ <h3>{{.ImageTitle }} </h3>
</div>
<div>
<figure>
<img src="http://localhost:8080{{ .ImageUrl }}">
+ <caption>{{.ImageDesc}}</caption>
</figure>
</div>
</body>