Fix page title on home

This commit is contained in:
ChaoticByte 2024-08-28 20:02:31 +02:00
parent b7489c562b
commit b3ba50ad26
No known key found for this signature in database

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/style.css">
<title>{{ if .EntryTitle }}{{ .EntryTitle }} - {{ end }}{{ .Title }}</title> <title>{{ if ne .EntryTitle "/" }}{{ .EntryTitle }} - {{ end }}{{ .Title }}</title>
</head> </head>
<body> <body>
{{ if .Entry -}} {{ if .Entry -}}