Commit 6439acda authored by Migs Atienza's avatar Migs Atienza

Finished home.html

parent 3dc59fda
{% extends 'base.html' %}
{% block title %}My Favorite Books & Authors{% endblock %}
{% block heading %}<center>Welcome to Migs' Database of Favorite Books & Authors!</center>{% endblock %}
{% block content %}<center>The books listed here consist of story-driven, action adventure titles with <br/>
interesting characters. While I haven't been reading recently, the database is made up of books I enjoyed<br/>
a while back. An author I enjoy here would be Rick Riordan and his Percy Jackson series as I was<br/>
immersed with the fantasy world he made which utilized Greek myths and stories.</center>{% endblock %}
{% block links %}
<center><br/><br/><br/><br/><br/>
<a href="books">Books</a>
<a href="authors">Authors</a></center>
{% endblock %}
{% extends 'base.html' %}
{% block title %}My Favorite Books & Authors{% endblock %}
{% block heading %}Welcome to Migs' Database of Favorite Books & Authors!{% endblock %}
{% block content %}The books listed here consist of story-driven, action adventure titles with
interesting characters. While I haven't been reading recently, the database is made up of books I enjoyed
a while back. An author I enjoy here would be Rick Riordan and his Percy Jackson series as I was
immersed with the fantasy world he made which utilized Greek myths and stories.{% endblock %}
<div>
<a href="/books">Books</a>
<a href="/authors">Authors</a>
</div>
......@@ -6,5 +6,5 @@ def index(request):
return request('Hello World! This came from the index view')
def home_view(request):
return render(request, 'home.html')
return render(request, 'bookshelf/home.html')
# Create your views here.
......@@ -9,6 +9,6 @@
<div id="content">
{% block content %}{% endblock %}
</div>
{% block scripts %}{% endblock %}
{% block links %}{% endblock %}
</body>
</html>
\ 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