diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-01-17 21:27:46 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-01-17 21:27:46 +0800 |
commit | b23ea9cf3a9f0bf4dbdcafe5da55484eba2141ff (patch) | |
tree | ee4f30618db9bbe2da4777b63eac1de2357621c7 | |
parent | 8cff3d40b6f9c34c31d83c95cec060079b2545d3 (diff) |
index: explicitly set title in metadata
-rw-r--r-- | alabaster-lite/main.html | 5 | ||||
-rw-r--r-- | docs/index.md | 3 |
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 }} — - {% endif %} - {{ config.site_name }} + {% if page.title %} {{ page.title }} — {% 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 |