From 8b8fb90f0fd3163406d660d7861abcb39e74793b Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 22:03:38 -0700 Subject: Update Readme and Formatting --- templates/404.html | 2 +- templates/base.html | 6 +++--- templates/macros/macros.html | 2 +- templates/macros/social.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/404.html b/templates/404.html index 1857f55..22e8791 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {# Title #} -{% block title %}Sorry! the page doesn't exist{% endblock title %} +{% block title %}Sorry! Page not found.{% endblock title %} {% block current_url %} diff --git a/templates/base.html b/templates/base.html index 83f5278..53cde0d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -40,7 +40,7 @@ {% block css %}{% endblock css %} - + {% if config.generate_feed %}{% endif %} {% block ogp_head %} @@ -62,8 +62,8 @@ {% endblock current_url %} {% if config.extra.social.twitter %} - - + + {% endif %} {% if page.extra.thumbnail %} diff --git a/templates/macros/macros.html b/templates/macros/macros.html index f0fc531..a470bb0 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -1,5 +1,5 @@ {% macro title(page) %}

{{ page.title }}

- {{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}] {% endif %} + {{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}] {% endif %} {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} #{{ tag }} {% endfor %}{% endif %} {% endmacro title %} {% macro footer(page) %} diff --git a/templates/macros/social.html b/templates/macros/social.html index 2fbee61..824b5d3 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,5 +1,5 @@ {% macro social_links(social_config) %}{% set base_url = get_url(path="", lang=lang) %} -{% if config.generate_feed %} {% endif %} +{% if config.generate_feed %}{% if config.extra.social.feed %} {% endif %}{% endif %} {% if social_config.mail %} {% endif %} {% if social_config.mastodon %} {% endif %} -- cgit v1.3.1