From 861070f74d75cd7b5ff4a410166b4df784b5b57f Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 14 Apr 2023 01:15:25 +0200 Subject: Prefix html title tag for posts with their title --- src/http/posts.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/http/posts.go') diff --git a/src/http/posts.go b/src/http/posts.go index 2c6f896..872ea89 100644 --- a/src/http/posts.go +++ b/src/http/posts.go @@ -271,7 +271,10 @@ func (a *api) getPostHandler() http.Handler { return } - executeTemplate(rw, r, tpl, tplPayload) + executeTemplate( + rw, r, tpl, tplPayload, + executeTemplateWithTitlePrefix(storedPost.Title), + ) }) } -- cgit v1.2.3