diff options
| author | Baitinq <[email protected]> | 2022-08-06 17:46:45 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2022-08-06 17:46:45 +0200 |
| commit | 40d06999a66cfb01ccfe23544d5616779d180e31 (patch) | |
| tree | 84aef4f04b130bdce752dc4cb54bb2253e262a00 | |
| parent | Projects: Add OSLS (diff) | |
| download | baitinq.ml-40d06999a66cfb01ccfe23544d5616779d180e31.tar.gz baitinq.ml-40d06999a66cfb01ccfe23544d5616779d180e31.tar.bz2 baitinq.ml-40d06999a66cfb01ccfe23544d5616779d180e31.zip | |
Correctly show subpages title
| -rw-r--r-- | content/_index.md | 1 | ||||
| -rw-r--r-- | themes/researcher/layouts/partials/head.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/content/_index.md b/content/_index.md index 89e0ed9..1cfb56d 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,5 +1,4 @@ --- -title: "" date: 2022-07-31T22:29:15+02:00 draft: false --- diff --git a/themes/researcher/layouts/partials/head.html b/themes/researcher/layouts/partials/head.html index 5f792a8..d9a0e97 100644 --- a/themes/researcher/layouts/partials/head.html +++ b/themes/researcher/layouts/partials/head.html @@ -2,7 +2,7 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - <title>{{ .Title }}</title> + <title>{{ .Site.Title }} {{ if .Title }} | {{ .Title }} {{ end }}</title> <meta name="description" content="{{ .Site.Params.description }}"> <meta name="author" content='{{ .Site.Params.author }}'> |