diff options
author | 2019-07-06 19:13:54 +0200 | |
---|---|---|
committer | 2019-07-06 19:13:54 +0200 | |
commit | 5a1df12dedea6facbc74d81ef70f58139b03e211 (patch) | |
tree | 2a27099f8c2011e35759279ec7559b1ff1d28813 /pydis_site | |
parent | fixing floating button on root article page (diff) |
adding hrefs to the more links
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/home/urls.py | 2 | ||||
-rw-r--r-- | pydis_site/templates/base/navbar.html | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pydis_site/apps/home/urls.py b/pydis_site/apps/home/urls.py index b22508d9..e65abea4 100644 --- a/pydis_site/apps/home/urls.py +++ b/pydis_site/apps/home/urls.py @@ -8,7 +8,7 @@ from .views import HomeView app_name = 'home' urlpatterns = [ path('', HomeView.as_view(), name='home'), + path('pages/', include('wiki.urls')), path('admin/', admin.site.urls), path('notifications/', include('django_nyt.urls')), - path('wiki/', include('wiki.urls')), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index bee503ee..65ad8bb4 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -61,20 +61,20 @@ More </a> <div class="navbar-dropdown"> - <a class="navbar-item"> + <a class="navbar-item" href="{% url 'wiki:get' path="resources" %}"> Resources </a> - <a class="navbar-item"> + <a class="navbar-item" href="{% url 'wiki:get' path="frequently-asked-questions" %}"> FAQ </a> - <a class="navbar-item"> + <a class="navbar-item" href="{% url 'wiki:get' path="rules" %}"> Rules </a> - <a class="navbar-item"> + <a class="navbar-item" href="{% url 'wiki:get' path="privacy" %}"> Privacy </a> <hr class="navbar-divider"> - <a class="navbar-item"> + <a class="navbar-item" href="{% url 'wiki:get' path="code-jams" %}"> Code Jams </a> </div> |