Commit be16c186 authored by Deokhyun Lee's avatar Deokhyun Lee

now templates are formed in an aligned way. All the content for home's index.html is done.

parent f0383042
{% extends 'base.html'%}
{% block title %}
My Favorite Books & Authors
{% endblock %}
{% block content %}
<p>Welcome!</p>
<h1>Welcome to Deokhyun's Database of Favorite Books and Authors!</h1>
<p>My personal preference:
<p>I love reading fantasy or Science Fiction!
Therefore, Frank Herbert's
Dune is one of the best
American authors for me!</p></p>
<a href="/books">Books</a>&nbsp&nbsp&nbsp&nbsp&nbsp<a href="/authors">Authors</a>
{% endblock %}
\ No newline at end of file
......@@ -2,6 +2,11 @@
<html lang="en">
<head>
<link rel="styleshost" href="styles.css">
<title>{% blocktitle %}</title>
<title>{% block title %}{% endblock %}</title>
</head>
<body>
<div class="container">
{% block content %}{% endblock %}
</div>
</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