Compare commits
2 Commits
fdc74bbf9e
...
54296ebcf7
Author | SHA1 | Date |
---|---|---|
Luca | 54296ebcf7 | |
Luca | cfbc4ef61c |
|
@ -1,6 +1,6 @@
|
|||
# shiftregister
|
||||
|
||||
![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](assets/tonkakt.svg)
|
||||
![kontakt logo with its left half rotated 180 degrees, resembling the left shift operator](shiftregister/core/static/tonkakt.svg)
|
||||
|
||||
## [CI Mirror](https://git.luj0ga.de/kontakt/shiftregister) / [Drone CI](https://ci.luj0ga.de/kontakt/shiftregister)
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ def nav(request):
|
|||
for item in items
|
||||
]
|
||||
|
||||
return {
|
||||
"nav_items": nav_items,
|
||||
}
|
||||
return {"nav_items": nav_items}
|
||||
|
||||
|
||||
def footer_nav(request):
|
||||
|
@ -22,4 +20,4 @@ def footer_nav(request):
|
|||
for item in items
|
||||
]
|
||||
|
||||
return {"nav_items": nav_items}
|
||||
return {"footer_nav_items": nav_items}
|
||||
|
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 903 B |
|
@ -86,6 +86,7 @@ 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",
|
||||
],
|
||||
},
|
||||
|
@ -147,10 +148,6 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue