diff options
Diffstat (limited to 'layouts/partials/title.html')
-rw-r--r-- | layouts/partials/title.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/partials/title.html b/layouts/partials/title.html new file mode 100644 index 0000000..e0bc325 --- /dev/null +++ b/layouts/partials/title.html @@ -0,0 +1,7 @@ +<title> + {{- if eq .Title site.Title -}} + {{ site.Title }} + {{- else -}} + {{ with .Title }}{{ . }} | {{ end }}{{ site.Title }} + {{- end -}} +</title> |