From b6a17f40d05e6376fc8cf9ba36e12557856c5d45 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sun, 12 Apr 2020 08:05:25 +0000
Subject: [PATCH] 🐪 Fixed Error with Disqus Comments
---
layouts/_default/single.html | 16 ++++++++--------
layouts/partials/sidebar.html | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b9b14a4..a892425 100644
--- a/layouts/_default/single.html
+++ b/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 }}
\ No newline at end of file
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index ad3553f..112f408 100644
--- a/layouts/partials/sidebar.html
+++ b/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>
--
Gitblit v1.10.0