Added fallback value for <title>

This commit is contained in:
BurnyLlama 2021-08-08 19:02:23 +02:00
parent 4529f395fd
commit aa62ff911d

View File

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