diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index 9f3da3f..2341372 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -32,7 +32,7 @@ a { transition: color 0.25s, background-color 0.25s; @include dark-mode { - &:hover { + &:not(.button):hover { color: $grey-lighter; } } diff --git a/website/blog/templates/blog/blog_list_page.html b/website/blog/templates/blog/blog_list_page.html index 0d950d6..0e4d4fc 100644 --- a/website/blog/templates/blog/blog_list_page.html +++ b/website/blog/templates/blog/blog_list_page.html @@ -6,6 +6,11 @@ {% endblock %} +{% block hero_buttons %} + + {{ block.super }} +{% endblock %} + {% block post_content %} {% for page in child_pages %} diff --git a/website/common/templates/wagtail_base.html b/website/common/templates/wagtail_base.html index 66811cd..e8bed08 100644 --- a/website/common/templates/wagtail_base.html +++ b/website/common/templates/wagtail_base.html @@ -23,29 +23,31 @@ {% include "common/content-details.html" %} - {% if page.table_of_contents %} - - - - Table of Contents - - - - - - - - - {% for toc_item in page.table_of_contents %} - {% include "common/toc-item.html" %} - {% endfor %} - + {% block hero_buttons %} + {% if page.table_of_contents %} + + + + Table of Contents + + + + + + + + + {% for toc_item in page.table_of_contents %} + {% include "common/toc-item.html" %} + {% endfor %} + + - - {% endif %} + {% endif %} - Top + Top + {% endblock %}