aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html2
-rw-r--r--templates/base.html6
-rw-r--r--templates/macros/macros.html2
-rw-r--r--templates/macros/social.html2
4 files changed, 6 insertions, 6 deletions
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 %}<title>Sorry! the page doesn't exist</title>{% endblock title %}
+{% block title %}<title>Sorry! Page not found.</title>{% endblock title %}
{% block current_url %}
<meta property="og:url" content="{{ get_url(path='/') }}">
<meta name="twitter:url" content="{{ get_url(path='/') }}">
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 @@
<meta name="apple-mobile-web-app-status-bar-style" content="default">
{% block css %}<link rel="stylesheet" href="{{ get_url(path="abridge.css", trailing_slash=false, cachebust=true) }}">{% endblock css %}
- <link rel="shortcut icon" href="/favicon.png" sizes="16x16" type="image/png"/>
+ <link rel="shortcut icon" href="{{ get_url(path="favicon.png", trailing_slash=false) }}" sizes="16x16" type="image/png"/>
<link rel="canonical" href="{{ get_url(path="/") }}">
{% if config.generate_feed %}<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml") }}">{% endif %}
{% block ogp_head %}
@@ -62,8 +62,8 @@
<meta name="twitter:url" content="{{ current_url | safe }}">{% endblock current_url %}
{% if config.extra.social.twitter %}
- <meta name="twitter:site" content="@{{ config.extra.social.twitter }}">
- <meta name="twitter:creator" content="@{{ config.extra.social.twitter }}">
+ <meta name="twitter:site" content="@{{ config.extra.twitter }}">
+ <meta name="twitter:creator" content="@{{ config.extra.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) %} <h1><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h1>
- <span>{{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} <span> [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind="categories", name=cat) | safe }}">{{ cat }}</a>{% endfor %}] </span> {% endif %}
+ <span>{{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind="categories", name=cat) | safe }}">{{ cat }}</a>{% endfor %}] </span> {% endif %}
{% if page.taxonomies.tags %} <span>{% for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind="tags", name=tag) | safe }}">{{ tag }}</a> {% endfor %}</span>{% 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) %}<span>{% set base_url = get_url(path="", lang=lang) %}
-{% if config.generate_feed %} <a href="{{ get_url(path="atom.xml") }}" target="_blank"><span class="svg rss" title="Rss"></span></a>{% endif %}
+{% if config.generate_feed %}{% if config.extra.social.feed %} <a href="{{ get_url(path="atom.xml") }}" target="_blank"><span class="svg rss" title="Rss"></span></a>{% endif %}{% endif %}
{% if social_config.mail %} <a href="mailto:{{ social_config.mail }}" target="_blank"><span class="svg mail" title="Mail"></span></a>{% endif %}
{% if social_config.mastodon %} <a href="https://mastodon.social/{{ social_config.mastodon }}/" target="_blank"><span class="svg mastodon" title="Mastodon"></span></a>{% endif %}