From 93052c778706bf94f20b3d417e443659aa3fd811 Mon Sep 17 00:00:00 2001
From: Akash Bhave
Date: Thu, 15 Oct 2020 16:53:23 -0400
Subject: [PATCH] Add persistent navigation bar to top of page
---
studyguides/templates/course.html | 4 ++--
studyguides/templates/home.html | 6 +++---
studyguides/templates/subject.html | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/studyguides/templates/course.html b/studyguides/templates/course.html
index dc9da96..e67fb30 100644
--- a/studyguides/templates/course.html
+++ b/studyguides/templates/course.html
@@ -1,6 +1,6 @@
-{% extends "base.html" %} {% block main %}
+{% extends "base.html" %} {% load static %} {% block main %}
- {{subject.name}} / {{ course.name }}
+
{% for guide in guides %}
{{ guide.name }}
{% endfor %}
diff --git a/studyguides/templates/home.html b/studyguides/templates/home.html
index d566e1d..7a1a271 100644
--- a/studyguides/templates/home.html
+++ b/studyguides/templates/home.html
@@ -1,9 +1,9 @@
-{% extends "base.html" %} {% block main %}
+{% extends "base.html" %} {% load static %} {% block main %}
-
+
{% for subject, courses in subjects %}
- {{ subject.name }}
+ {{ subject.name }}
{% for course in courses %}
{{ course.name }}
diff --git a/studyguides/templates/subject.html b/studyguides/templates/subject.html
index 8e58ec0..bd22f6a 100644
--- a/studyguides/templates/subject.html
+++ b/studyguides/templates/subject.html
@@ -1,6 +1,6 @@
-{% extends "base.html" %} {% block main %}
+{% extends "base.html" %} {% load static %} {% block main %}
- {{ subject.name }}
+
{% for course in courses %}
{{ course.name }}
{% endfor %}