| | |
| | | <div class="post {{ with .Site.Params.doNotLoadAnimations }} . {{ else }} animated fadeInDown {{ end }}"> |
| | | <div class="post-content"> |
| | | {{ if .Params.thumbnail }} |
| | | <img class="post-thumbnail" src="{{ .Params.thumbnail | absURL }}" alt="Thumbnail image"> |
| | | <img class="post-thumbnail" src="{{ .Params.thumbnail | relURL }}" alt="Thumbnail image"> |
| | | {{ end }} |
| | | <div class="post-title"> |
| | | <h3>{{ .Title }}</h3> |
| | | {{ if eq .Type "post"}} |
| | | {{ if or (eq .Type "post") (eq .Type .Site.Params.postSectionName) }} |
| | | <div class="info"> |
| | | <em class="fas fa-calendar-day"></em> |
| | | <span class="date">{{ if isset .Site.Params "singledateformat" }} |
| | | {{ .Date.Format .Site.Params.singleDateFormat }} |
| | | {{ else }} {{.Date.Format "Mon, Jan 2, 2006"}} |
| | | {{ end }}</span> |
| | | <br> |
| | | <em class="fas fa-stopwatch"></em> |
| | | <span class="reading-time">{{ i18n "reading_time" .ReadingTime }}</span> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | {{ if and (eq .Type "post") (ne .Page.Params.disableComments true) }} |
| | | {{ if and (or (eq .Type "post") (eq .Type .Site.Params.postSectionName)) (ne .Page.Params.disableComments true) }} |
| | | {{- if .Site.DisqusShortname -}} |
| | | <div id="fb_comments_container"> |
| | | <h2>{{ i18n "comments" }}</h2> |