From dd8eb25c50b647fb82a8b2f563a5fb3ed4be6fac Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Mon, 13 Dec 2021 18:20:43 +0000 Subject: [PATCH] tidy-up code in templates (end of Chapter 3). These are minor changes -- just typo's, spacing issues Etc. I added a for-loop to index.html just to get some data in the 'content' area in the 'main content area'. This will eventually be replaced as I move throught the various chapters. I only added it to see how the CSS rearranges the layout when there is some 'content' in the main part of the page. --- templates/index.html | 6 +++++- templates/layouts/app.html | 2 +- templates/shared/footer.html | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index 3fa348d..0c24cb0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,5 +20,9 @@ no guarantee it will contain anything n it, though. -->

{{ message }}

-

Here we go!

+ +{% for b in numbers %} +
  • Blog Header
  • +{% endfor %} + {% endblock %} diff --git a/templates/layouts/app.html b/templates/layouts/app.html index 5bf206b..5fc7e2c 100644 --- a/templates/layouts/app.html +++ b/templates/layouts/app.html @@ -16,7 +16,7 @@