|
@ -1,19 +1,18 @@ |
|
|
{{ define "main" }} |
|
|
{{ define "main" }} |
|
|
<div class="post animated fadeInDown"> |
|
|
|
|
|
<div class="post-content"> |
|
|
|
|
|
{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }} |
|
|
|
|
|
<div class="post-title"> |
|
|
|
|
|
<h3>{{ .Title }}</h3> |
|
|
|
|
|
|
|
|
<article class="post h-entry entry"> |
|
|
|
|
|
<div class="h-card p-author" style="display: none;"> |
|
|
|
|
|
<a rel="author" class= "p-name u-url" href="https://jk.nipponalba.scot">JK</a> |
|
|
|
|
|
<img class="u-photo" src="/images/profile.jpg" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3> |
|
|
{{ if eq .Type "post"}} |
|
|
{{ if eq .Type "post"}} |
|
|
<div class="info"> |
|
|
<div class="info"> |
|
|
<i class="fa fa-sun"></i><span class="date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> |
|
|
|
|
|
|
|
|
<i class="fa fa-sun"></i><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span> |
|
|
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> |
|
|
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> |
|
|
</div> |
|
|
|
|
|
{{ end }} |
|
|
{{ end }} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="e-content">{{ .Content }}</div> |
|
|
|
|
|
|
|
|
{{ .Content }} |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="post-footer"> |
|
|
<div class="post-footer"> |
|
|
<div class="info"> |
|
|
<div class="info"> |
|
|
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} |
|
|
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} |
|
@ -31,5 +30,5 @@ |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{ end }} |
|
|
{{ end }} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</article> |
|
|
{{ end }} |
|
|
{{ end }} |