diff options
author | Alex Mayer <amayer5125@gmail.com> | 2020-03-09 20:49:32 -0400 |
---|---|---|
committer | Alex Mayer <amayer5125@gmail.com> | 2020-03-09 20:49:32 -0400 |
commit | 9ec179b02cc38233bdaf0c6e4c09744b858bc2b7 (patch) | |
tree | 224f07473db7cd74b1fb9fd5f5c3c31db54b0b8a /search | |
parent | 23b6d6ecc7c29540cb59df6e44325771fbde9115 (diff) | |
download | jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar.gz jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar.bz2 jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar.lz jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar.xz jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.tar.zst jthanio-9ec179b02cc38233bdaf0c6e4c09744b858bc2b7.zip |
Use Server Side Comments
This cleans up client side code
Diffstat (limited to 'search')
-rw-r--r-- | search/templates/search/search.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/search/templates/search/search.html b/search/templates/search/search.html index 0b092a6..e5f5ab2 100644 --- a/search/templates/search/search.html +++ b/search/templates/search/search.html @@ -8,13 +8,13 @@ {% block content %} <div class="container"> <div class="row"> - <!-- Blog Entries Column --> + {# Blog Entries Column #} <div class="col-md-8"> {% if search_results %} <h1 class="my-4">Showing search results for "{{ search_query }}"</h1> {% for result in search_results %} {% with post=result.specific %} - <!-- Blog Post --> + {# Blog Post #} <div class="card mb-4"> <div class="card-body"> <h2 class="card-title">{{ post.title }}</h2> @@ -30,10 +30,10 @@ {% elif search_query %} <h1 class="my-4">No results found</h1> {% endif %} - <!-- end of results --> + {# end of results #} <p><a href="{{ request.META.HTTP_REFERER }}">Return to previous page</a></p> </div> - <!-- Sidebar Widgets Column --> + {# Sidebar Widgets Column #} <div class="col-md-4"> {% include "search.html" %} </div> |