📄Page Structure

The Django folder structure is meticulously organized to enhance project scalability and maintainability. With directories for apps, static files, templates, and configuration settings, it streamlines.

{% load static %}
<!DOCTYPE html>
<html lang="en">
  <!-- [Head] start -->

  <head>
    {% include '../layouts/head-page-meta.html' %}
    <!-- map-vector css -->
    <link rel="stylesheet" href={% static "css/plugins/jsvectormap.min.css" %}>
    {% include '../layouts/head-css.html' %}
  </head>
  <!-- [Head] end -->
  <!-- [Body] Start -->

  <body data-pc-preset="preset-1" data-pc-sidebar-theme="light" data-pc-sidebar-caption="true" data-pc-direction="ltr" data-pc-theme="light" data-new-gr-c-s-check-loaded="14.1145.0" data-gr-ext-installed="">
    {% include '../layouts/layout-vertical.html' %}

    <!-- [ Main Content ] start -->
    <div class="pc-container">
      <div class="pc-content">
        {% include '../layouts/breadcrumb.html' %} 
        <!-- [ Main Content ] start -->
        
      </div>
    </div>
    <!-- [ Main Content ] end -->
    {% include '../layouts/footer-block.html' %} 
    {%include '../layouts/customizer.html'%}
    <!-- [Page Specific JS] start -->
    <script src={% static "js/plugins/apexcharts.min.js" %}></script>
    <script src={% static "js/plugins/jsvectormap.min.js" %}></script>
    <script src={% static "js/plugins/world.js" %}></script>
    <script src={% static "js/plugins/world-merc.js" %}></script>
    <script src={% static "js/pages/dashboard-default.js" %}></script>
    <!-- [Page Specific JS] end -->
    {% include '../layouts/footer-js.html' %}
  </body>
  <!-- [Body] end -->
</html>

Layout settings

You can change the default layout in the templates/index.html file in the body tag

<body data-pc-preset="preset-1" data-pc-sidebar-theme="light" 
data-pc-sidebar-caption="true" data-pc-direction="ltr" data-pc-theme="light" 
data-new-gr-c-s-check-loaded="14.1145.0" data-gr-ext-installed="">

Last updated