summaryrefslogtreecommitdiffstats
path: root/templates/mart
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-08-18 17:00:21 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-08-18 17:04:47 -0700
commit9076095d7edc56ea44dcc66c1844659a156708e9 (patch)
treedd8d4e8968cc8648ecadb06cce40ba6d23f704e3 /templates/mart
parent8fbf17fa2c91b22a41dd3a7fa1881641b20e8bf1 (diff)
downloadroseh.moe-9076095d7edc56ea44dcc66c1844659a156708e9.tar.zst
Add Met Art page
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}}