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

Alexander Bilz
12.05.2020 b6a17f40d05e6376fc8cf9ba36e12557856c5d45
🐪 Fixed Error with Disqus Comments
2 files modified
18 ■■■■ changed files
layouts/_default/single.html 16 ●●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 2 ●●● patch | view | raw | blame | history
layouts/_default/single.html
@@ -25,14 +25,14 @@
      </div>
    </div>
    {{ if eq .Type "post"}}
    {{ if .Site.DisqusShortname -}}
    <div id="fb_comments_container">
      <h2>Comments</h2>
      {{ template "_internal/disqus.html" . }}
    </div>
    {{- end }}
    {{ end }}
</div>
{{ if eq .Type "post"}}
{{ if .Site.DisqusShortname -}}
<div id="fb_comments_container">
  <h2>Comments</h2>
  {{ template "_internal/disqus.html" . }}
</div>
{{- end }}
{{ end }}
{{ end }}
layouts/partials/sidebar.html
@@ -1,7 +1,7 @@
<div class="sidebar animated fadeInDown">
    <div class="logo-title">
      <div class="title">
        <img src="{{ .Site.Params.profilePicture | absURL }}" style="width:256px;border-radius: 50%;">
        <img src="{{ .Site.Params.profilePicture | absURL }}" style="width:127px;border-radius: 50%;">
        <h3 title=""><a href="/">{{ .Site.Title }}</a></h3>
        <div class="description">
          <p>{{ .Site.Params.description }}</p>