diff options
Diffstat (limited to 'blog/templates/blog/blog_post.html')
-rw-r--r-- | blog/templates/blog/blog_post.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/blog/templates/blog/blog_post.html b/blog/templates/blog/blog_post.html index 541c69f..e328308 100644 --- a/blog/templates/blog/blog_post.html +++ b/blog/templates/blog/blog_post.html @@ -9,32 +9,32 @@ {% block content %} <div class="container"> <div class="row"> - <!-- Post Content Column --> + {# Post Content Column #} <div class="col-lg-8"> - <!-- Title --> + {# Title #} <h1 class="mt-4">{{ page.title }}</h1> - <!-- Date/Time --> + {# Date/Time #} {% with categories=page.categories.all %} <p>Posted on {{ page.date }}{% if categories %} in {{ categories|join:", " }}{% endif %}</p> {% endwith %} <hr> - <!-- Preview Image --> + {# Preview Image #} {% if page.main_image %} {% image page.main_image fill-900x300-c100 class="img-fluid rounded" %} <hr> {% endif %} - <!-- Post Content --> + {# Post Content #} <p class="lead">{{ page.intro }}</p> {% include_block page.body %} </div> - <!-- Sidebar Widgets Column --> + {# Sidebar Widgets Column #} <div class="col-md-4"> {% include "search.html" %} - <!-- Tags Widget --> + {# Tags Widget #} <div class="card my-4"> <h5 class="card-header">Tags</h5> <div class="card-body"> |