summaryrefslogtreecommitdiffstats
path: root/templates/mart/girl.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mart/girl.html.template')
-rw-r--r--templates/mart/girl.html.template5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/mart/girl.html.template b/templates/mart/girl.html.template
index a4ffce3..de249c5 100644
--- a/templates/mart/girl.html.template
+++ b/templates/mart/girl.html.template
@@ -3,10 +3,11 @@
{{- end}}
{{- define "body"}}
+ {{$girlURL := .URL}}
{{- range .Sets}}
<figure>
- <a href="/mart/sets/{{.ID}}">
- <img width="250" src="/mart/photos/{{.CoverID}}">
+ <a href="/mart/{{$girlURL}}/{{.URL}}/">
+ <img width="250" src="/mart/{{$girlURL}}/{{.URL}}/{{.CoverID}}.jpeg">
</a>
<figcaption>{{.Name}}</figcaption>
</figure>