aboutsummaryrefslogblamecommitdiff
path: root/templates/base.html
blob: 3816e1a95d14731f3b11ce05590152518a526e4e (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                    
                        

      



                                                                                                                            
                                             


                                       


                                   

                                            
 
                                     
 
                      
                                                   

                  
                          
                                                      

                  


                                               
 
                                                                    
                           
                                                      


                                                            
                                       
 
                                            

       
       
{% import 'macros.html' as macros %}

<!DOCTYPE html>
<html lang="{{ lang }}">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="An open-source distributed storage service you can self-host to fullfill many needs.">
    <meta name="application-name" content="{{ config.title }}">
    {% include "partials/shared/head.html" %}
    <title>
        {% block title %}{% endblock %}
    </title>
</head>

<body class="has-background-white">

    {% include "partials/shared/nav.html" %}

    {% block content %}{% endblock %}

    {% block search %}
        {% include "partials/shared/search.html" %}
    {% endblock %}

    {% block pagination %}
        {% include "partials/shared/paginator.html" %}
    {% endblock %}

    {% block comment %}{% endblock %}

    {% include "partials/shared/footer.html" %}

    <script src="{{ get_url(path='elasticlunr.min.js') }}"></script>
    {%- if lang != "en" -%}
    {%- block other_lang_search_js -%}{%- endblock -%}
    {%- endif -%}
    <script src="{{ get_url(path='js/site.js') }}"></script>

    {% block custom_js %}{% endblock %}

    {% block user_custom_js %}{% endblock %}
</body>

</html>