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> </video>
</div> </div>
{{ else }} {{ 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 }} {{ end }}
{{ end }} {{ end }}
@ -25,7 +25,7 @@
<tr> <tr>
<th>Date</th> <th>Date</th>
<td> <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" }} {{ $.Date.Format "January 2006" }}
</time> </time>
</td> </td>
@ -91,11 +91,10 @@
</td> </td>
</tr> </tr>
{{ end }} {{ end }}
</table>
{{ partial "voting" . }} {{ partial "voting" . }}
</table>
{{ with .Content }} {{ with .Content }}
<h3>Commentary</h3> <h3>Commentary</h3>