Cleaned up the HTML formatting by indenting the nested items properly

parent 7c7b071b
Pipeline #3090 canceled with stages
......@@ -3,12 +3,12 @@
{% block title %}My Favorite Authors{% endblock %}
{% block content %}
<h1>Matt's Favorite Authors:<br><br></h1>
<ul style="list-style-type:circle">
<h1>Matt's Favorite Authors:<br><br></h1>
<ul style="list-style-type:circle">
{% for author in authors %}
<li><a href="{{ author.get_absolute_url }}">{{ author.first_name }}&nbsp;{{ author.last_name }}</a></li>
{% endfor %}
</ul>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/books/">Books</a>
</ul>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/books/">Books</a>
{% endblock %}
\ No newline at end of file
......@@ -3,13 +3,13 @@
{% block title %}{{ book.title }}{% endblock %}
{% block content %}
<h1>{{ book.title }}<br><br></h1>
<p><a href="{{ book.author.get_absolute_url }}">{{ book.author }}</a><br></p>
<p>{{ book.publisher }}<br></p>
<p>{{ book.year_published }}<br></p>
<p>{{ book.ISBN }}<br></p>
<p>{{ book.blurb }}<br><br></p>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/books/">Books</a>
<a href="http://localhost:8000/authors/">Authors</a>
<h1>{{ book.title }}<br><br></h1>
<p><a href="{{ book.author.get_absolute_url }}">{{ book.author }}</a><br></p>
<p>{{ book.publisher }}<br></p>
<p>{{ book.year_published }}<br></p>
<p>{{ book.ISBN }}<br></p>
<p>{{ book.blurb }}<br><br></p>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/books/">Books</a>
<a href="http://localhost:8000/authors/">Authors</a>
{% endblock %}
\ No newline at end of file
......@@ -3,12 +3,12 @@
{% block title %}My Favorite Books{% endblock %}
{% block content %}
<h1>Matt's Favorite Books:<br><br></h1>
<ul style="list-style-type:circle">
<h1>Matt's Favorite Books:<br><br></h1>
<ul style="list-style-type:circle">
{% for book in books %}
<li><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></li>
{% endfor %}
</ul>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/authors/">Authors</a>
</ul>
<a href="http://localhost:8000/home/">Home</a>
<a href="http://localhost:8000/authors/">Authors</a>
{% endblock %}
\ No newline at end of file
......@@ -3,8 +3,8 @@
{% block title %}My Favorite Books & Authors{% endblock %}
{% block content %}
<h1>Welcome to Matt's Database of Favorite Books and Authors!<br><br></h1>
<p>I like fantasy, sci-fi, and detective novels written by (perhaps) depressed and somewhat manic authors!<br></p>
<a href="http://localhost:8000/books/">Books</a>
<a href="http://localhost:8000/authors/">Authors</a>
<h1>Welcome to Matt's Database of Favorite Books and Authors!<br><br></h1>
<p>I like fantasy, sci-fi, and detective novels written by (perhaps) depressed and somewhat manic authors!<br></p>
<a href="http://localhost:8000/books/">Books</a>
<a href="http://localhost:8000/authors/">Authors</a>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment