aboutsummaryrefslogtreecommitdiff
path: root/templates/galleryindex.html
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-11-01 17:48:19 -0400
committerGitHub <noreply@github.com>2019-11-01 17:48:19 -0400
commit5f4ee89e57060dc9c119d84ac5700784c343b8d9 (patch)
tree2a18debdceae9d538d0e9a9c451c10022de472ee /templates/galleryindex.html
parent42371916d83af7fc2e4ca053d963e6cfab15a8f1 (diff)
downloadxesite-5f4ee89e57060dc9c119d84ac5700784c343b8d9.tar.xz
xesite-5f4ee89e57060dc9c119d84ac5700784c343b8d9.zip
Art gallery (#91)
* implement art gallery * update dates * gallery: update tags * gofmt * templates/gallerypost: add hashtags
Diffstat (limited to 'templates/galleryindex.html')
-rw-r--r--templates/galleryindex.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/galleryindex.html b/templates/galleryindex.html
new file mode 100644
index 0000000..e3c1f33
--- /dev/null
+++ b/templates/galleryindex.html
@@ -0,0 +1,25 @@
+{{ define "title" }}
+<title>Gallery - Christine Dodrill</title>
+{{ end }}
+
+{{ define "content" }}
+<h1>Gallery</h1>
+
+<p>Here are links to all of the art I have done in the last few years.</p>
+
+<p>If you have a compatible reader, be sure to check out my <a href="/blog.rss">RSS Feed</a> for automatic updates. Also check out the <a href="/blog.json">JSONFeed</a>.</p>
+
+<p>
+ <div class="grid">
+ {{ range . }}
+ <div class="card cell -4of12 blogpost-card">
+ <header class="card-header">{{ .Title }}</header>
+ <div class="card-content">
+ <center><p>Posted on {{ .DateString }} <br><a href="{{ .Link }}"><img src="{{ .ThumbURL }}" /></a></p></center>
+ </div>
+ </div>
+ {{ end }}
+ </div>
+</p>
+
+{{ end }}