diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mart/girl.html.template | 4 | ||||
| -rw-r--r-- | templates/mart/index.html.template | 2 | ||||
| -rw-r--r-- | templates/mart/set.html.template | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/templates/mart/girl.html.template b/templates/mart/girl.html.template index de249c5..bc82e4f 100644 --- a/templates/mart/girl.html.template +++ b/templates/mart/girl.html.template @@ -6,8 +6,8 @@ {{$girlURL := .URL}} {{- range .Sets}} <figure> - <a href="/mart/{{$girlURL}}/{{.URL}}/"> - <img width="250" src="/mart/{{$girlURL}}/{{.URL}}/{{.CoverID}}.jpeg"> + <a href="/mart/{{$girlURL}}/{{.URL}}"> + <img src="/mart/photos/preview/{{.CoverID}}.jpeg"> </a> <figcaption>{{.Name}}</figcaption> </figure> diff --git a/templates/mart/index.html.template b/templates/mart/index.html.template index 7cca57c..17365c1 100644 --- a/templates/mart/index.html.template +++ b/templates/mart/index.html.template @@ -6,7 +6,7 @@ {{- range .Girls}} <figure> <a href="/mart/{{.URL}}/"> - <img src="/mart/{{.URL}}/preview.jpeg"> + <img src="/mart/photos/preview/{{.CoverID}}.jpeg"> </a> <figcaption>{{.Name}}</figcaption> </figure> diff --git a/templates/mart/set.html.template b/templates/mart/set.html.template index 77f743e..dbe0f22 100644 --- a/templates/mart/set.html.template +++ b/templates/mart/set.html.template @@ -3,11 +3,10 @@ {{- end}} {{- define "body"}} - {{$setURL := .URL}} <div class="fullwidth"> {{- range .Photos}} <figure> - <img src="/mart/{{$setURL}}/{{.}}.jpeg"> + <img src="/mart/photos/{{.}}.jpeg"> </figure> {{- end}} </div> |
