summaryrefslogblamecommitdiff
path: root/jthanio/templates/base.html
blob: 9870c5969725fbcd27900d128e67e2fc3dca0d99 (plain) (tree)
1
                                


















                                                                                                

                                                                                       




                                                                     

                                   


                                                       
                               

                                         


                                                                    
              





                                                                                   
                               
                                                                                            
                                                                                     

           
{% 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" />

        {# 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>
    
    {% include "navigation.html" %}

    <body class="{% block body_class %}{% endblock %}">
        {% wagtailuserbar %}
        <div id="page-content">
        {% 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>

        {# Global javascript #}
        <script type="text/javascript" src="{% static 'js/jquery-3.4.1.min.js' %}"></script>
        <script type="text/javascript" src="{% static 'js/bootstrap.js' %}"></script>
    </body>
</html>