diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-08-18 21:48:51 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-08-18 21:48:51 -0700 |
| commit | 4002ac9a9f8ef4135f4dcb7256f6eb2d017dcce6 (patch) | |
| tree | 984f6b2a7dda232affe0d9e0ed039165554a7987 /templates | |
| parent | e9fd0b3a06f0a42b8ac7f97ebd318775d52833e9 (diff) | |
| download | roseh.moe-4002ac9a9f8ef4135f4dcb7256f6eb2d017dcce6.tar.zst | |
Improve directory layout a little more
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> |
