Fix trailing slash in art
This commit is contained in:
parent
79909f7464
commit
be422f74cf
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
|||
{{ $title := .title }}
|
||||
{{ with resources.Get (printf "art/%s" .filename) }}
|
||||
{{ $image := .Resize "500x" }}
|
||||
<img class="gallery-img featured-art" alt="{{ $title }}" width="{{ $image.Width }}" height="{{ $image.Height }}" src="{{ $image.RelPermalink }}"/>
|
||||
<img class="gallery-img featured-art" alt="{{ $title }}" width="{{ $image.Width }}" height="{{ $image.Height }}" src="{{ $image.RelPermalink }}">
|
||||
{{ else }}
|
||||
<p>Thumbnail not found!</p>
|
||||
{{ end }}
|
||||
|
|
|
@ -34,13 +34,13 @@
|
|||
{{ with $image }}
|
||||
{{ if $.Params.threed }}
|
||||
{{ with resources.Get "3d.png" }}
|
||||
<img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}" />
|
||||
<img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $.Params.animation }}
|
||||
{{ with resources.Get "play-circle.png" }}
|
||||
<img alt="Viewable Animation" title="Viewable Animation" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}" />
|
||||
<img alt="Viewable Animation" title="Viewable Animation" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue