diff --git a/sass/style.scss b/sass/style.scss index 24347a6..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; @@ -22,10 +26,6 @@ html, .navbar, .footer { a { color: hsl(217, 71%, 70%); } - - .lightbox a.delete { - color: $light; - } } .lightbox { 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 }}