janispagel.de

Source code for https://janispagel.de
Log | Files | Refs | README | LICENSE

commit 22c69b7a27ed5dbb18b066da91ca86c3dc0eb8bd
parent 67a570f515660c0de7c8aae3fff814d0a8e6a179
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Mon, 26 Aug 2019 13:34:52 +0200

Add page titles

Diffstat:
M_includes/head.html | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/_includes/head.html b/_includes/head.html @@ -2,6 +2,13 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <title> + {% if page.layout == "home" %} + {{ site.title }} + {% else %} + {{ page.title }} - {{ site.title }} + {% endif %} + </title> <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> <link rel="stylesheet" href="{{ "/assets/css/academicons.css" | relative_url }}"> </head>