You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
{{ define "main" }}
|
|
<article class="post h-entry entry contents">
|
|
<section class="author" style="display:none;">
|
|
<a rel="author" class="p-author h-card" rel="me" href="https://sakino.kelbie.scot">{{ .Site.Params.Author }}<img src="/images/profile1.jpg"/></a>
|
|
</section>
|
|
<section class="post_content">
|
|
<span class="info-date"><a href="{{ .Permalink }}" class="u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "2 Jan 2006 15:04 GMT" }}</time></a></span>
|
|
<section class="e-content"><section class="e-content p-name">
|
|
{{ .Content }}
|
|
{{ if eq .Type "photo"}}
|
|
<section class="photogrid">
|
|
{{ range .Page.Params.Photo }}
|
|
{{ if isset . "value" }}
|
|
<a href="{{ .value }}"><img class="u-photo" src="{{ .value }}" alt="{{ .alt }}"/></a>
|
|
{{ else }}
|
|
<a href="{{ . }}"><img class="u-photo" src="{{ . }}" alt=" Trying to fix"/></a>
|
|
{{end}}
|
|
{{end}}
|
|
|
|
</section>
|
|
{{end}}
|
|
{{ if eq .Type "article" }}<section class="p-summary" style="display:none">
|
|
{{ .Page.Params.summary }}<br/>
|
|
</section>
|
|
{{ end }}<br/>
|
|
</section>
|
|
<section class="info">
|
|
<span class="categories_span">{{ with .Page.Params.category }}Categories: {{ partial "taxonomy/categories.html" . }}{{ end }}</span><br/>
|
|
</section></section>
|
|
|
|
</article>
|
|
{{end}}
|