|
|
@ -5,14 +5,14 @@ |
|
|
|
<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"}} |
|
|
|
<div class="info"> |
|
|
|
{{ if eq .Type "article"}} |
|
|
|
<div class="info"> |
|
|
|
<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> |
|
|
|
{{ end }} |
|
|
|
</div> |
|
|
|
{{ end }} |
|
|
|
<div class="e-content">{{ .Content }}</div> |
|
|
|
|
|
|
|
{{ if eq .Type "article"}} |
|
|
|
<div class="post-footer"> |
|
|
|
<div class="info"> |
|
|
|
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} |
|
|
@ -20,7 +20,7 @@ |
|
|
|
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
{{ if eq .Type "article"}} |
|
|
|
{{ if .Site.DisqusShortname -}} |
|
|
|
<div id="fb_comments_container"> |
|
|
|