Browse Source

nicer page title for blog posts

Thomas Buck 1 year ago
parent
commit
0f41b464ae
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      page.html

+ 1
- 1
page.html View File

7
 %-->
7
 %-->
8
 <head>
8
 <head>
9
     <meta charset="{{ htmlspecialchars(__encoding__) }}" />
9
     <meta charset="{{ htmlspecialchars(__encoding__) }}" />
10
-    <title>{{ htmlspecialchars(page.title) }} - xythobuz.de</title>
10
+    <title>{{ htmlspecialchars(page.get("post", "Blog")) if page.title == "Blog" else htmlspecialchars(page.title) }} - xythobuz.de</title>
11
     <meta name="description" content="{{ htmlspecialchars(page.get("description", "Electronics & Software Projects")) }}" />
11
     <meta name="description" content="{{ htmlspecialchars(page.get("description", "Electronics & Software Projects")) }}" />
12
     <meta name="keywords" content="{{ htmlspecialchars(page.get("keywords", "xythobuz")) }}" />
12
     <meta name="keywords" content="{{ htmlspecialchars(page.get("keywords", "xythobuz")) }}" />
13
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
13
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />

Loading…
Cancel
Save