Create simple base.html and add meta information

This commit is contained in:
Akash Bhave 2020-10-13 21:46:01 -04:00
parent c89f58ee3a
commit 7cec923dae
No known key found for this signature in database
GPG Key ID: 7293775E03FE1380
3 changed files with 21 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Study Bank
## Development
- clone the git repo
- create `settings/secret.py` based on `settings/secret.sample`
- register an OAuth app with Ion for authentication (client-type = confidential, auth-grant-type = authorization-code)

View File

@ -4,7 +4,7 @@ from django.http import HttpResponse
# Create your views here.
def index_view(request):
#return render(request, "home/index.html")
return render(request, "base.html")
return HttpResponse("hello world")

View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Study Guide Bank</title>
<meta name="description" content="Study guide bank for students of Thomas Jefferson High School for Science and Technology.">
<meta name="keywords" content="tjhsst, study bank, study guide, guide bank, tjhsst study, tjhsst background-size">
</script>
{% block head %}{% endblock %}
</head>
<body id="page">
{% block main %}{% endblock %}
</body>
</html>