Add a photo_details param that turns off the details table when set to false
This commit is contained in:
parent
fe8e12a2ba
commit
b7221075a3
1 changed files with 5 additions and 3 deletions
|
@ -20,10 +20,12 @@
|
|||
|
||||
{{ .Content }}
|
||||
|
||||
{{- partial "photo_exif_table.html" $img.Exif -}}
|
||||
{{- if .Params.photo_details | default true -}}
|
||||
{{- partial "photo_exif_table.html" $img.Exif -}}
|
||||
|
||||
{{- if in ($.Site.BaseURL | string) "localhost" -}}
|
||||
{{- partial "development/photo_exif_table.html" $img.Exif -}}
|
||||
{{- if in ($.Site.BaseURL | string) "localhost" -}}
|
||||
{{- partial "development/photo_exif_table.html" $img.Exif -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{ else }}
|
||||
<figure>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue