Extracting <title> to be able to override it in the client code

This commit is contained in:
Maksim Iakunin 2021-10-19 20:00:18 +03:00
parent 8b3e9c711e
commit 9b375d4a98
No known key found for this signature in database
GPG key ID: 629DE6EA48DAF1F4
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
<title>{{ if and (.Title) (not .IsHome) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>