diff options
author | Alex Mayer <amayer5125@gmail.com> | 2020-03-09 20:33:25 -0400 |
---|---|---|
committer | Alex Mayer <amayer5125@gmail.com> | 2020-03-09 20:46:21 -0400 |
commit | 285039078776e1a334a258edc75b0124775c62c1 (patch) | |
tree | a74c846587850d7e929edc9cb64af54c548806fc /jthanio | |
parent | 93bb3408f1ba0bc5fb6eb49576d347c55b04abc5 (diff) | |
download | jthanio-285039078776e1a334a258edc75b0124775c62c1.tar jthanio-285039078776e1a334a258edc75b0124775c62c1.tar.gz jthanio-285039078776e1a334a258edc75b0124775c62c1.tar.bz2 jthanio-285039078776e1a334a258edc75b0124775c62c1.tar.lz jthanio-285039078776e1a334a258edc75b0124775c62c1.tar.xz jthanio-285039078776e1a334a258edc75b0124775c62c1.tar.zst jthanio-285039078776e1a334a258edc75b0124775c62c1.zip |
Fix Indentation
Add missing </ul> which indentation exposed.
Diffstat (limited to 'jthanio')
-rw-r--r-- | jthanio/templates/base.html | 77 | ||||
-rw-r--r-- | jthanio/templates/navigation.html | 4 | ||||
-rw-r--r-- | jthanio/templates/search.html | 28 |
3 files changed, 54 insertions, 55 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 © 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 © 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> diff --git a/jthanio/templates/navigation.html b/jthanio/templates/navigation.html index 0b6026d..5424821 100644 --- a/jthanio/templates/navigation.html +++ b/jthanio/templates/navigation.html @@ -1,5 +1,5 @@ {% load navigation_tags %} {% block menu %} - {% get_site_root as site_root %} - {% top_menu parent=site_root calling_page=self %} + {% get_site_root as site_root %} + {% top_menu parent=site_root calling_page=self %} {% endblock %} diff --git a/jthanio/templates/search.html b/jthanio/templates/search.html index aea81d4..a906c5e 100644 --- a/jthanio/templates/search.html +++ b/jthanio/templates/search.html @@ -1,14 +1,14 @@ - <!-- Search Widget --> - <div class="card my-4"> - <h5 class="card-header">Search</h5> - <div class="card-body"> - <div class="input-group"> - <form class="form-inline my-2 my-lg-0" action="{% url 'search' %}" method="get"> - <input type="text" class="form-control mr-sm-2 btn-lg" placeholder="Search for..." name="query"{% if search_query %} value="{{ search_query }}"{% endif %}> - <span class="input-group-btn"> - <input type="submit" value="Search" class="btn btn-secondary my-2 my-sm-0"> - </span> - </form> - </div> - </div> - </div> +<!-- Search Widget --> +<div class="card my-4"> + <h5 class="card-header">Search</h5> + <div class="card-body"> + <div class="input-group"> + <form class="form-inline my-2 my-lg-0" action="{% url 'search' %}" method="get"> + <input type="text" class="form-control mr-sm-2 btn-lg" placeholder="Search for..." name="query"{% if search_query %} value="{{ search_query }}"{% endif %}> + <span class="input-group-btn"> + <input type="submit" value="Search" class="btn btn-secondary my-2 my-sm-0"> + </span> + </form> + </div> + </div> +</div> |