Fix art detail page

This commit is contained in:
Joshua Goins 2023-04-17 15:29:13 -04:00
parent 6fe4627b76
commit e826de1771

View file

@ -16,7 +16,7 @@
</video>
</div>
{{ else }}
<img style="display: block; max-height: 1000px; margin-left: auto; margin-right: auto; width: auto" alt="{{ $.Params.alt_text }}" title="{{ $.Params.alt_text }}" src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" />
<img style="display: block; max-height: 1000px; margin-left: auto; margin-right: auto; width: auto" alt="{{ $.Params.alt_text }}" title="{{ $.Params.alt_text }}" src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}">
{{ end }}
{{ end }}
{{ end }}
@ -25,7 +25,7 @@
<tr>
<th>Date</th>
<td>
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
<time datetime="{{ .Page.Lastmod.Format "2006-01-02" }}" class="text-muted">
{{ $.Date.Format "January 2006" }}
</time>
</td>
@ -91,11 +91,10 @@
</td>
</tr>
{{ end }}
</table>
{{ partial "voting" . }}
</table>
{{ with .Content }}
<h3>Commentary</h3>