From 8cff3d40b6f9c34c31d83c95cec060079b2545d3 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Tue, 17 Jan 2023 21:24:42 +0800 Subject: index: more informative title --- alabaster-lite/main.html | 7 ++++++- docs/index.md | 4 +--- 2 files changed, 7 insertions(+), 4 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 %} - {% if page.title %}{{ page.title }} — {% endif %}{{ config.site_name }} + + {% if page.title and not page.is_homepage %} + {{ page.title }} — + {% endif %} + {{ config.site_name }} + diff --git a/docs/index.md b/docs/index.md index ab63213..9f438a6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -# fkfd +# [about](/about) | [x](/x) ## Categories @@ -43,8 +43,6 @@ ## Fun -- [ascii bio](/x) - - [bongo cat](/toys/bongo) — [bongo.cat](https://bongo.cat), de-Googled, de-Cloudflared -- cgit v1.2.3