From 520b59c0484951291df79ffad4b2abbc7d17fa0b Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 15 Feb 2023 05:21:03 +0100 Subject: [PATCH 1/3] sass: Remove useless coloring from close button Remove useless coloring from lightbox close button. --- sass/style.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 24347a6..2082f57 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -22,10 +22,6 @@ html, .navbar, .footer { a { color: hsl(217, 71%, 70%); } - - .lightbox a.delete { - color: $light; - } } .lightbox { From f71e9475861f03b59bbf7f50f6eeea9084a37074 Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 15 Feb 2023 05:21:50 +0100 Subject: [PATCH 2/3] sass: Show visited links in different color --- sass/style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sass/style.scss b/sass/style.scss index 2082f57..4c5d133 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -9,6 +9,10 @@ html, .navbar, .footer { padding-bottom: 0; } +a:visited { + color: hsl(280, 100%, 50%); +} + @media (prefers-color-scheme: dark) { html, .navbar, .footer, p, strong, .title, li { background-color: $dark; From 6cceafb21bc1bd519bc6111aeba7ad372f3e9037 Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 15 Feb 2023 05:22:13 +0100 Subject: [PATCH 3/3] templates: Generate more specific page titles --- templates/base.html | 2 +- templates/credits.html | 4 ++++ templates/index.html | 4 ++++ templates/page.html | 5 +++++ templates/section.html | 4 ++++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 232a8b3..a2c2939 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ - {{ config.title }} + {% block title %}{% endblock title %} {% if config.generate_feed %} diff --git a/templates/credits.html b/templates/credits.html index 50ab1ac..35fa3d7 100644 --- a/templates/credits.html +++ b/templates/credits.html @@ -1,5 +1,9 @@ {% extends "base.html" %} +{% block title %} +{{ config.title }} - {{ page.title }} +{% endblock title %} + {% block content %}

{{ config.title }}

{{ page.title }}

diff --git a/templates/index.html b/templates/index.html index 7c03502..d059f77 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,9 @@ {% extends "base.html" %} +{% block title %} +{{ config.title }} +{% endblock title %} + {% block content %}

{{ config.title }}

diff --git a/templates/page.html b/templates/page.html index 9330515..6c54f04 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,5 +1,10 @@ {% extends "base.html" %} +{% block title %} +{% set section = get_section(path=page.ancestors | last) %} +{{ config.title }} - {{ section.title }} - {{ page.title }}: {{ page.date }} +{% endblock title %} + {% block content %} {% set section = get_section(path=page.ancestors | last) %}

{{ config.title }}

diff --git a/templates/section.html b/templates/section.html index b891e25..56edc0a 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,5 +1,9 @@ {% extends "base.html" %} +{% block title %} +{{ config.title }} - {{ section.title }} +{% endblock title %} + {% block content %}

{{ config.title }}

{{ section.title }}