summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-01-17 21:27:46 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-01-17 21:27:46 +0800
commitb23ea9cf3a9f0bf4dbdcafe5da55484eba2141ff (patch)
treeee4f30618db9bbe2da4777b63eac1de2357621c7
parent8cff3d40b6f9c34c31d83c95cec060079b2545d3 (diff)
index: explicitly set title in metadata
-rw-r--r--alabaster-lite/main.html5
-rw-r--r--docs/index.md3
2 files changed, 4 insertions, 4 deletions
diff --git a/alabaster-lite/main.html b/alabaster-lite/main.html
index cb994e4..ee56621 100644
--- a/alabaster-lite/main.html
+++ b/alabaster-lite/main.html
@@ -6,10 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
- {% if page.title and not page.is_homepage %}
- {{ page.title }} &mdash;
- {% endif %}
- {{ config.site_name }}
+ {% if page.title %} {{ page.title }} &mdash; {% endif %} {{ config.site_name }}
</title>
<link rel="stylesheet" href="{{ base_url }}/css/alabaster.css" type="text/css">
diff --git a/docs/index.md b/docs/index.md
index 9f438a6..45bd747 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,3 +1,6 @@
+---
+title: Home
+---
# [about](/about) | [x](/x)
## Categories