diff options
Diffstat (limited to 'templates/404.html')
| -rw-r--r-- | templates/404.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/404.html b/templates/404.html index 22e8791..23c7168 100644 --- a/templates/404.html +++ b/templates/404.html @@ -2,10 +2,13 @@ {# 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='/') }}"> -{% endblock current_url %} + +{% if config.extra.seo | default(value=true) %} + {% block current_url %} + <meta property="og:url" content="{{ get_url(path='/') }}"> + <meta name="twitter:url" content="{{ get_url(path='/') }}"> + {% endblock current_url %} +{% endif %} {# Page heading #} {% block content %}<div> |
