diff options
author | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-03 20:30:52 -0700 |
---|---|---|
committer | Jonathan DeMasi <jrdemasi@gmail.com> | 2020-03-03 20:30:52 -0700 |
commit | 9c759c9d182ff5605ca7196256380561c6294419 (patch) | |
tree | b77012e81b7f2f20ba388c975799b5afaf6cc5a3 | |
parent | 2f0a68673015a596f6e42e19917981db7ed7f263 (diff) | |
download | jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar.gz jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar.bz2 jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar.lz jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar.xz jthanio-9c759c9d182ff5605ca7196256380561c6294419.tar.zst jthanio-9c759c9d182ff5605ca7196256380561c6294419.zip |
somewhat of a homepage going
-rw-r--r-- | blog/templates/blog/blog_post.html | 12 | ||||
-rw-r--r-- | home/templates/home/home_page.html | 23 |
2 files changed, 19 insertions, 16 deletions
diff --git a/blog/templates/blog/blog_post.html b/blog/templates/blog/blog_post.html index d72cb55..2521b20 100644 --- a/blog/templates/blog/blog_post.html +++ b/blog/templates/blog/blog_post.html @@ -35,17 +35,7 @@ <!-- Sidebar Widgets Column --> <div class="col-md-4"> - <div class="card my-4"> - <h5 class="card-header">Search</h5> - <div class="card-body"> - <div class="input-group"> - <input type="text" class="form-control" placeholder="Search for..."> - <span class="input-group-btn"> - <button class="btn btn-secondary" type="button">Search</button> - </span> - </div> - </div> - </div> + {% include "search.html" %} <!-- Tags Widget --> <div class="card my-4"> <h5 class="card-header">Tags</h5> diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index 98b77e7..c91cb77 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -9,11 +9,24 @@ <div class="row"> - <!-- Blog Entries Column --> - <div class="col-md-8"> + <!-- Post Content Column --> + <div class="col-lg-8"> + + <!-- Title --> + <h1 class="mt-4">{{ page.title }}</h1> - <h1 class="my-4">{{ page.title }} - <small>{{ page.intro }}</small> - </h1> <hr> + + {{ page.body|richtext }} + + </div> + + <!-- Sidebar Widgets Column --> + <div class="col-md-4"> + {% include "search.html" %} + </div> + + </div> + {% endblock %} + |