mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
18.58.2021 9e0aac33f4400c1b12188ce6e05c049b3154e5be
layouts/_default/single.html
@@ -2,17 +2,18 @@
    <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>
@@ -33,7 +34,7 @@
            </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>