Committer: root <root@fruw.org>

On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
	modified:   layouts/404.html
	modified:   layouts/_default/single.html
	modified:   layouts/partials/footer.html
	modified:   layouts/partials/head.html
	modified:   layouts/partials/header.html
This commit is contained in:
root
2023-07-27 22:56:04 +05:00
parent 223a748532
commit 24c5dcf9e7
5 changed files with 2 additions and 73 deletions

View File

@ -3,7 +3,7 @@
<article>
<div class="title">
<h1 class="title">{{ .Title }}</h1>
<div class="meta">Posted on {{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</div>
<div class="meta">Опубликовано {{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</div>
</div>
{{ if isset .Params "tldr" }}
<div class="tldr">
@ -28,15 +28,6 @@
{{ end }}
{{ end }}
</div>
{{- $.Scratch.Set "isDisqus" true -}}
<!-- Check if disqus short name is given -->
{{ if not .Site.DisqusShortname }}
{{- $.Scratch.Set "isDisqus" false -}}
{{ end }}
{{- if eq ($.Scratch.Get "isDisqus") true -}}
{{- partial "disqus.html" . -}}
{{- end -}}
</article>
</main>
{{ end }}