diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-04-14 01:15:25 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-04-14 01:15:25 +0200 |
commit | 861070f74d75cd7b5ff4a410166b4df784b5b57f (patch) | |
tree | bc7ecea965667fbb5ffba27547231352fc597b90 /src/http/posts.go | |
parent | 7d48d2abba46570ad67fa9f4b8c0b4e023fc2eed (diff) |
Prefix html title tag for posts with their title
Diffstat (limited to 'src/http/posts.go')
-rw-r--r-- | src/http/posts.go | 5 |
1 files changed, 4 insertions, 1 deletions
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), + ) }) } |