From 835fa0ae0ab65b0b0c7e436883b8bd2c149c85db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC?= Date: Sat, 20 Jul 2024 14:10:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D0=B2=D0=BE=D0=B4=D0=B8=D0=BC=20?= =?UTF-8?q?=D0=BC=D0=B0=D1=80=D0=B0=D1=84=D0=B5=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/single.html | 7 +++++-- layouts/_default/term.html | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 91b8170..1010f7f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,14 +3,17 @@
-

{{ .Title }}

+

+ {{ .Title | markdownify }} +

- {{ .Content }} + {{ .Content | replaceRE "()" `${1} ${3}` | safeHTML }} +
diff --git a/layouts/_default/term.html b/layouts/_default/term.html index f339207..f254ae1 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -1,5 +1,5 @@ {{ define "main" }} -

Posts for: #{{ .Title }}

+

Статьи на тему #{{ .Title }}

{{ with .Content }}
{{ . }}