summaryrefslogtreecommitdiffstats
path: root/templates/mart
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mart')
-rw-r--r--templates/mart/girl.html.template14
-rw-r--r--templates/mart/index.html.template14
-rw-r--r--templates/mart/set.html.template13
3 files changed, 41 insertions, 0 deletions
diff --git a/templates/mart/girl.html.template b/templates/mart/girl.html.template
new file mode 100644
index 0000000..a4ffce3
--- /dev/null
+++ b/templates/mart/girl.html.template
@@ -0,0 +1,14 @@
+{{- define "head"}}
+ <title>{{.Name}}</title>
+{{- end}}
+
+{{- define "body"}}
+ {{- range .Sets}}
+ <figure>
+ <a href="/mart/sets/{{.ID}}">
+ <img width="250" src="/mart/photos/{{.CoverID}}">
+ </a>
+ <figcaption>{{.Name}}</figcaption>
+ </figure>
+ {{- end}}
+{{- end}}
diff --git a/templates/mart/index.html.template b/templates/mart/index.html.template
new file mode 100644
index 0000000..db52057
--- /dev/null
+++ b/templates/mart/index.html.template
@@ -0,0 +1,14 @@
+{{- define "head"}}
+ <title>Met Art Babes</title>
+{{- end}}
+
+{{- define "body"}}
+ {{- range .Girls}}
+ <figure>
+ <a href="/mart/girls/{{.ID}}">
+ <img src="/mart/girls/{{.ID}}/preview.jpeg">
+ </a>
+ <figcaption>{{.Name}}</figcaption>
+ </figure>
+ {{- end}}
+{{- end}}
diff --git a/templates/mart/set.html.template b/templates/mart/set.html.template
new file mode 100644
index 0000000..9af31d1
--- /dev/null
+++ b/templates/mart/set.html.template
@@ -0,0 +1,13 @@
+{{- define "head"}}
+ <title>{{.Name}}</title>
+{{- end}}
+
+{{- define "body"}}
+ <div class="fullwidth">
+ {{- range .Photos}}
+ <figure>
+ <img src="/mart/photos/{{.}}">
+ </figure>
+ {{- end}}
+ </div>
+{{- end}}