Added fallback value for <title>

master
BurnyLlama 2021-08-08 19:02:23 +02:00
parent 4529f395fd
commit aa62ff911d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{% include "templates/defaultTags.njk" %}
<link rel="stylesheet" href="/assets/css/article.css">
<link rel="stylesheet" href="/assets/css/syntax.css">
<title>{{ externalMeta.title }}</title>
<title>{{ externalMeta.title if externalMeta.title else serverName }}</title>
</head>
<body>
<article>