{{ if hasAny . "content" "photo" }}
<div class="h-cite">
{{ if eq (len (getAll . "photo")) 1 }}
<img src="{{ get . "photo" }}" />
{{ end }}
{{ if has . "author.properties.name" }}
<p class="p-author h-card">
<a class="p-name u-url" href="{{ get . "author.properties.url" }}">{{ get . "author.properties.name" }}</a>
:
</p>
{{ end }}
{{ if gt (len (getAll . "photo")) 1 }}
{{ range (getAll . "photo") }}
<img src="{{ . }}" />
{{ end }}
{{ end }}
{{ if has . "content" }}
<div class="e-content">{{ content . }}</div>
{{ end }}
{{ if has . "published" }}
<div class="meta">
<a class="u-url" href="{{ get . "url" }}">
<time class="dt-published" datetime="{{ get . "published" }}">{{ humanDate . "published" }}</time>
</a>
</div>
{{ end }}
</div>
{{ end }}