|
|
@ -1,14 +1,14 @@ |
|
|
|
{{ define "main" }} |
|
|
|
<article class="post h-entry entry"> |
|
|
|
<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 "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> |
|
|
|
<a rel="author" class="p-author h-card" href="{{ .RelPermalink }}" style="display:none;">{{ .Author }}</a> |
|
|
|
<i class="fa fa-sun"></i><a class="u-url" href="{{ .RelPermalink }}"><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></a> |
|
|
|
{{ if eq .Type "article" }}<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 }} |
|
|
@ -16,7 +16,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"> |
|
|
|