Clean up the photo parameters table

Add a .no-value style to the items in the table. Streamline the logic for filling
in table values.
This commit is contained in:
Eryn Wells 2024-11-04 08:36:57 -08:00
parent cf0aa69a87
commit 63eb00bf4a
3 changed files with 55 additions and 33 deletions

View file

@ -19,7 +19,7 @@
{{ .Content -}}
{{- if .Params.photo_details | default .Params.photoDetails | default true -}}
{{- if .Params.photoDetails | default .Params.photo_details | default true -}}
{{- partial "photostream/exif_table.html" $img.Exif -}}
{{- end -}}
{{ end }}{{/* if eq (len $images) 1 */}}