From 800b13d687b8df22e9050874366e5ce79e7b80bf Mon Sep 17 00:00:00 2001
From: lxndrblz <lxndrblz@users.noreply.github.com>
Date: Fri, 18 Nov 2022 15:08:44 +0000
Subject: [PATCH] style: prettier format all files
---
layouts/_default/single.html | 34 ----------------------------------
1 files changed, 0 insertions(+), 34 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ddef496..da8f295 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,17 +2,14 @@
<div
class="post {{ with .Site.Params.doNotLoadAnimations }}
.
-
{{ else }}
animated fadeInDown
-
{{ end }}"
>
{{ if .Params.thumbnail }}
<div class="post__thumbnail-wrapper">
<img class="post__thumbnail" src="{{ .Params.thumbnail | relURL }}" alt="Thumbnail image" />
</div>
-
{{ end }}
<div class="post__content">
<h1>{{ title .Title }}</h1>
@@ -24,27 +21,17 @@
>{{ if isset .Site.Params "singledateformat" }}
{{ if .Site.Params.localizedDates }}
{{ time.Format .Site.Params.singleDateFormat .Date }}
-
-
{{ else }}
{{ .Date.Format .Site.Params.singleDateFormat }}
-
-
{{ end }}
-
{{ else }}
{{ if .Site.Params.localizedDates }}
{{ time.Format "Mon, Jan 2, 2006" .Date }}
-
-
{{ else }}
{{ .Date.Format "Mon, Jan 2, 2006" }}
-
-
{{ end }}
-
{{ end }}
</span>
</li>
@@ -53,7 +40,6 @@
<span class="post__meta-text">{{ i18n "reading_time" .ReadingTime }}</span>
</li>
</ul>
-
{{ end }}
{{- partial "expirationnote.html" . -}}
@@ -61,47 +47,33 @@
{{- if (eq .Params.toc true) -}}
<h3>Table of Contents</h3>
{{ .TableOfContents }}
-
-
{{- end -}}
{{ .Content }}
{{- if isset .Params "series" -}}
{{- partial "series.html" . -}}
-
-
{{- end -}}
{{- if (eq .Site.Params.relatedPosts true) -}}
{{- partial "related.html" . -}}
-
-
{{- end -}}
{{- if (eq .Params.contact true) -}}
{{- partial "contact.html" . -}}
-
-
{{- end -}}
{{- if (eq .Site.Params.mermaid.enable true) -}}
{{- partial "mermaid.html" . -}}
-
-
{{- end -}}
</div>
<div class="post__footer">
{{ with .Page.Params.Categories }}
{{ partial "taxonomy/categories.html" . }}
-
-
{{ end }}
{{ with .Page.Params.Tags }}
{{ partial "taxonomy/tags.html" . }}
-
-
{{ end }}
</div>
@@ -111,32 +83,26 @@
<h2>{{ i18n "comments" }}</h2>
{{ template "_internal/disqus.html" . }}
</div>
-
{{- end -}}
{{- if .Site.Params.utterances.repo -}}
<div id="comment">
<h2>{{ i18n "comments" }}</h2>
{{ partial "comments/utterances.html" . }}
</div>
-
{{- end -}}
{{- if .Site.Params.CommentoURL -}}
<div id="comment">
<h2>{{ i18n "comments" }}</h2>
{{ partial "comments/commento.html" . }}
</div>
-
{{- end -}}
{{- if .Site.Params.gitalk.repo -}}
<div id="comment">
<h2>{{ i18n "comments" }}</h2>
{{ partial "comments/gitalk.html" . }}
</div>
-
{{- end -}}
-
{{ end }}
</div>
-
{{ end }}
--
Gitblit v1.10.0