From d07212a8b2e7a459ed5eec334d7d4927f97e7ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC?= Date: Sat, 10 Aug 2024 11:37:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B4=D0=BE=D0=BB=D0=B6?= =?UTF-8?q?=D0=B0=D0=B5=D0=BC=20=D0=BC=D0=B0=D1=80=D0=B0=D1=84=D0=B5=D1=82?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/list.html | 4 ---- layouts/_default/single.html | 21 ++++++++++++++++++++- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9c4fef3..ccb0251 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,10 +10,6 @@

{{ .Title | markdownify }}

- -
{{- if .Date -}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ecc6c3a..1fefd8b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,9 +7,28 @@ {{ .Title }} + + + +
+ {{ .Description | markdownify }} +
+ {{ partial "cover.html" . }} - {{ .TableOfContents }} + + {{ .Content | replaceRE "()" `${1} ${3}` | safeHTML }}