{{- "{{" -}} . {{- "}}" -}} | {{- ($.Scratch.Get "res") -}} |
{{- "{{" -}} .ResourceType {{- "}}" -}} | {{- ($.Scratch.Get "res").ResourceType -}} |
{{- "{{" -}} .Name {{- "}}" -}} | {{- ($.Scratch.Get "res").Name -}} |
{{- "{{" -}} .Title {{- "}}" -}} | {{- ($.Scratch.Get "res").Title -}} |
{{- "{{" -}} .Permalink {{- "}}" -}} | {{- ($.Scratch.Get "res").Permalink -}} |
{{- "{{" -}} .RelPermalink {{- "}}" -}} | {{- ($.Scratch.Get "res").RelPermalink -}} |
{{- "{{" -}} .MediaType {{- "}}" -}} | {{- ($.Scratch.Get "res").MediaType -}} |
{{- "{{" -}} .MediaType.MainType {{- "}}" -}} | {{- ($.Scratch.Get "res").MediaType.MainType -}} |
{{- "{{" -}} .MediaType.SubType {{- "}}" -}} | {{- ($.Scratch.Get "res").MediaType.SubType -}} |
{{- "{{" -}} .MediaType.Suffixes {{- "}}" -}} | {{- ($.Scratch.Get "res").MediaType.Suffixes -}} |
{{ if eq ($.Scratch.Get "res").ResourceType "image" }}
| |
Weitere Bilddaten | |
{{ $image := ($.Scratch.Get "res" ) }}
{{ with $image }}
{{- "{{" -}} .Width {{- "}}" -}} | {{- .Width -}} |
{{- "{{" -}} .Height{{- "}}" -}} | {{- .Height -}} |
{{ with $image.Exif }}
{{ with .Date }} {{- "{{" -}} .Date {{- "}}" -}} | {{- .Format "02 January 2006" -}} |
{{- end -}}
{{ with .Lat }} {{- "{{" -}} .Lat {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Long }} {{- "{{" -}} .Long {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.FNumber }} {{- "{{" -}} .Tags.FNumber {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.ApertureValue }} {{- "{{" -}} .Tags.ApertureValue {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.BrightnessValue }}{{- "{{" -}} .Tags.BrightnessValue {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.ExposureTime }} {{- "{{" -}} .Tags.ExposureTime {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.FocalLength }} {{- "{{" -}} .Tags.FocalLength {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.ISOSpeedRatings }}{{- "{{" -}} .Tags.ISOSpeedRatings {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.LensModel }} {{- "{{" -}} .Tags.LensModel {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.Make }} {{- "{{" -}} .Tags.Make {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ with .Tags.Model }} {{- "{{" -}} .Tags.Model {{- "}}" -}} | {{- . -}} |
{{- end -}}
{{ range $k, $v := .Tags }}
{{ if ne $k "MakerNote" }}
.Tags.{{ $k }} | {{ $v }} |
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ else }}
{{- "{{" -}} .ResourceType {{- "}}" -}} | kein Image |
{{ end }}