summaryrefslogtreecommitdiff
path: root/alabaster-lite
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-01-17 21:24:42 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-01-17 21:24:42 +0800
commit8cff3d40b6f9c34c31d83c95cec060079b2545d3 (patch)
treede06afa4761850d7e2574577d83ad1bbb5e888aa /alabaster-lite
parent782b6d22917036bb55f23b995ca0c368c62b322f (diff)
index: more informative title
Diffstat (limited to 'alabaster-lite')
-rw-r--r--alabaster-lite/main.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/alabaster-lite/main.html b/alabaster-lite/main.html
index cffe3c6..cb994e4 100644
--- a/alabaster-lite/main.html
+++ b/alabaster-lite/main.html
@@ -5,7 +5,12 @@
{% block head %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>{% if page.title %}{{ page.title }} &mdash; {% endif %}{{ config.site_name }}</title>
+ <title>
+ {% if page.title and not page.is_homepage %}
+ {{ page.title }} &mdash;
+ {% endif %}
+ {{ config.site_name }}
+ </title>
<link rel="stylesheet" href="{{ base_url }}/css/alabaster.css" type="text/css">
<link rel="stylesheet" href="{{ base_url }}/css/fkfd.css" type="text/css">