diff --git a/content/blog/_index.md b/content/blog/_index.md index 68ceeb6..ddb2698 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -6,8 +6,6 @@ extra: # redir_to: /timeline --- -
- # Blog The following is a list of articles I've written. This is also available in [RSS](/rss.xml) format. \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index b46b073..b4602bd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -35,7 +35,8 @@ - {# #} @@ -60,7 +61,9 @@ {% include "components/navbar.html" %} {% if announcement %} -

{{announcement | safe}}

+

{{announcement | safe}}

+ {% else %} +
{% endif %} @@ -84,7 +87,8 @@ {# External scripts #} - {# #} diff --git a/templates/index.html b/templates/index.html index 354009c..4757205 100644 --- a/templates/index.html +++ b/templates/index.html @@ -30,7 +30,9 @@ {% if section.extra.uses %} {% set feature_flags = section.extra.uses %} {% endif %} -{% set announcement = "Found me though the IPv6 Canvas? Click here." %} +{% if section.extra.announcement %} +{% set announcement = section.extra.announcement %} +{% endif %} {% endblock variable_wormhole %} {# Page content #} diff --git a/templates/page.html b/templates/page.html index f7aa0a0..9a6fc27 100644 --- a/templates/page.html +++ b/templates/page.html @@ -42,7 +42,6 @@ {% include "components/heading-card.html" %} {% endblock page_start %} {% block content %} -

{{page.title}}

{{page.description}}