From 9e9c7d34038a830d22397bbec08e7ec64eb0a0d7 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 3 May 2021 22:05:25 +0200 Subject: Improve posts title rendering --- layouts/posts/list.html | 2 +- layouts/posts/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/posts') diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 12207c8..badf0f6 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -2,7 +2,7 @@ {{ range sort .Paginator.Pages }}

- {{ .Title }} + {{ partial "docs/title.html" . }}

{{ partial "docs/post-meta" . }}

diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 79cd303..301ca1e 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,7 +1,7 @@ {{ define "main" }}