2
0
Fork 0

Compare commits

..

No commits in common. "54296ebcf74738e10e87e76ab0c015849c8ca491" and "fdc74bbf9e38d681ed6aa4d8e3047e2fdf129d27" have entirely different histories.

7 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# shiftregister
![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](shiftregister/core/static/tonkakt.svg)
![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](assets/tonkakt.svg)
## [CI Mirror](https://git.luj0ga.de/kontakt/shiftregister) / [Drone CI](https://ci.luj0ga.de/kontakt/shiftregister)

View File

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 903 B

View File

@ -9,7 +9,9 @@ def nav(request):
for item in items
]
return {"nav_items": nav_items}
return {
"nav_items": nav_items,
}
def footer_nav(request):
@ -20,4 +22,4 @@ def footer_nav(request):
for item in items
]
return {"footer_nav_items": nav_items}
return {"nav_items": nav_items}

View File

@ -86,7 +86,6 @@ TEMPLATES = [
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"shiftregister.app.context_processors.proc",
"shiftregister.core.context_processors.footer_nav",
"shiftregister.core.context_processors.nav",
],
},
@ -148,6 +147,10 @@ USE_TZ = True
STATIC_ROOT = "/opt/shiftregister/static"
STATIC_URL = "static/"
STATICFILES_DIRS = [
BASE_DIR / "assets",
]
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field