Browse Source

trying to get photo feed working again

master
jk 5 years ago
parent
commit
7bc2224df5
  1. 6
      layouts/_default/section.html

6
layouts/_default/section.html

@ -10,7 +10,11 @@
<aside>
{{if eq .Type "article" }}<a href="{{ .RelPermalink }}" class="link u-url"><h3 class="">{{ .Title }}</h3></a><b>{{ .Description }}</b>{{ end }}
<div class="e-content">
{{ with .Page.Params.Photo }}{{ partial "taxonomy/photo.html" . }}{{ end }}
{{ with .Page.Params.Photo }}
{{range .Page.Params.Photo, $photo := .}}
{{ printf $photo }}
{{end}}
{{ end }}
{{ .Content }}
</div>
<a href="{{ .RelPermalink }}" class="link u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>