summaryrefslogtreecommitdiff
path: root/jthanio/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'jthanio/templates/base.html')
-rw-r--r--jthanio/templates/base.html77
1 files changed, 38 insertions, 39 deletions
diff --git a/jthanio/templates/base.html b/jthanio/templates/base.html
index 242ded6..f4a49db 100644
--- a/jthanio/templates/base.html
+++ b/jthanio/templates/base.html
@@ -1,49 +1,48 @@
{% load static wagtailuserbar %}
<!DOCTYPE html>
<html class="no-js" lang="en">
- <head>
- <meta charset="utf-8" />
- <title>
- {% block title %}
- {% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}
- {% endblock %}
- {% block title_suffix %}
- {% with self.get_site.site_name as site_name %}
- {% if site_name %}- {{ site_name }}{% endif %}
- {% endwith %}
- {% endblock %}
- </title>
- <meta name="description" content="" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <head>
+ <meta charset="utf-8" />
+ <title>
+ {% block title %}
+ {% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}
+ {% endblock %}
+ {% block title_suffix %}
+ {% with self.get_site.site_name as site_name %}
+ {% if site_name %}- {{ site_name }}{% endif %}
+ {% endwith %}
+ {% endblock %}
+ </title>
+ <meta name="description" content="" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
- {# Global stylesheets #}
- <link rel="stylesheet" type="text/css" href="{% static 'css/jthanio.css' %}">
- <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.css' %}">
+ {# Global stylesheets #}
+ <link rel="stylesheet" type="text/css" href="{% static 'css/jthanio.css' %}">
+ <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.css' %}">
-
- {% block extra_css %}
- {# Override this in templates to add extra stylesheets #}
- {% endblock %}
- </head>
- <body class="{% block body_class %}{% endblock %}">
+ {% block extra_css %}
+ {# Override this in templates to add extra stylesheets #}
+ {% endblock %}
+ </head>
+ <body class="{% block body_class %}{% endblock %}">
<div id="page-content">
- {% include "navigation.html" %}
+ {% include "navigation.html" %}
- {% wagtailuserbar %}
- {% block content %}{% endblock %}
+ {% wagtailuserbar %}
+ {% block content %}{% endblock %}
- {% block extra_js %}
- {# Override this in templates to add extra javascript #}
- {% endblock %}
- </div>
- <footer class="footer">
- <div class="text-center bg-dark">
- <span class="text-muted">Copyright &copy; jthan.io {% now "Y" %}</span>
- </div>
- </footer>
+ {% block extra_js %}
+ {# Override this in templates to add extra javascript #}
+ {% endblock %}
+ </div>
+ <footer class="footer">
+ <div class="text-center bg-dark">
+ <span class="text-muted">Copyright &copy; jthan.io {% now "Y" %}</span>
+ </div>
+ </footer>
- {# Global javascript #}
- <script src="{% static 'js/jquery-3.4.1.min.js' %}"></script>
- <script src="{% static 'js/bootstrap.js' %}"></script>
- </body>
+ {# Global javascript #}
+ <script src="{% static 'js/jquery-3.4.1.min.js' %}"></script>
+ <script src="{% static 'js/bootstrap.js' %}"></script>
+ </body>
</html>