Use .PublishDate instead of .Date

This commit is contained in:
Will Faught
2023-01-29 11:59:55 -08:00
parent b9f319f4c5
commit ffe4b5fd2e
2 changed files with 4 additions and 5 deletions

View File

@@ -6,13 +6,12 @@
<section>
{{ if $page.Params.image_url }}
{{ $class := "mw-100 rounded-4 shadow" }}
{{ $style := "height: 20rem" }}
{{ if $page.Params.image_stretch }}
{{ $class = "rounded-4 shadow w-100" }}
{{ end }}
{{ $style := "height: 20rem" }}
{{ if $page.Params.image_stretch }}
{{ $style = "height: 20rem; object-fit: cover" }}
{{ end }}