diff --git a/base_app/static/base_app/js/master.js b/base_app/static/base_app/js/master.js index dd4722f..34efcab 100644 --- a/base_app/static/base_app/js/master.js +++ b/base_app/static/base_app/js/master.js @@ -19,13 +19,13 @@ function navbar_click() { nav.classList.add("navbar-active"); nav.classList.remove("navbar"); // TODO: This breaks with every new page added - nav.children[4].innerHTML = "<" + nav.children[3].innerHTML = "<" nav.state.open = true; } else { nav.classList.remove("navbar-active"); nav.classList.add("navbar"); - nav.children[4].innerHTML = ">" + nav.children[3].innerHTML = ">" nav.state.open = false; } } diff --git a/base_app/templates/index.html b/base_app/templates/index.html index 14d0247..351a312 100644 --- a/base_app/templates/index.html +++ b/base_app/templates/index.html @@ -7,7 +7,10 @@

Homepage

UNDER MAINTENANCE

Welcome to my website

-

Marcel Plch

+ +

Marcel Plch

+ +

Let's turn this into something useful, shall we. diff --git a/base_app/templates/layout.html b/base_app/templates/layout.html index 4d7181e..9890218 100644 --- a/base_app/templates/layout.html +++ b/base_app/templates/layout.html @@ -4,7 +4,7 @@ {% load static %} {{ title }} - + {# REQUIRED META TAGS #} @@ -19,6 +19,33 @@ + + {# NAVBAR #} +

{# CONTENT #} {% block content %} @@ -40,6 +67,7 @@ + diff --git a/plchweb/urls.py b/plchweb/urls.py index 34f9a48..808d1dc 100644 --- a/plchweb/urls.py +++ b/plchweb/urls.py @@ -18,9 +18,7 @@ from django.urls import path from base_app.views import IndexView, LoremView, CVView, UkraineView urlpatterns = [ - path('admin/', admin.site.urls), path('', IndexView.as_view()), - path('lorem-ipsum/', LoremView.as_view()), path('curriculum-vitae/', CVView.as_view()), path('ukraine/', UkraineView.as_view()), ]