Compare commits
No commits in common. "54296ebcf74738e10e87e76ab0c015849c8ca491" and "fdc74bbf9e38d681ed6aa4d8e3047e2fdf129d27" have entirely different histories.
54296ebcf7
...
fdc74bbf9e
|
@ -1,6 +1,6 @@
|
||||||
# shiftregister
|
# 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)
|
## [CI Mirror](https://git.luj0ga.de/kontakt/shiftregister) / [Drone CI](https://ci.luj0ga.de/kontakt/shiftregister)
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 903 B |
|
@ -9,7 +9,9 @@ def nav(request):
|
||||||
for item in items
|
for item in items
|
||||||
]
|
]
|
||||||
|
|
||||||
return {"nav_items": nav_items}
|
return {
|
||||||
|
"nav_items": nav_items,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def footer_nav(request):
|
def footer_nav(request):
|
||||||
|
@ -20,4 +22,4 @@ def footer_nav(request):
|
||||||
for item in items
|
for item in items
|
||||||
]
|
]
|
||||||
|
|
||||||
return {"footer_nav_items": nav_items}
|
return {"nav_items": nav_items}
|
||||||
|
|
|
@ -86,7 +86,6 @@ TEMPLATES = [
|
||||||
"django.contrib.auth.context_processors.auth",
|
"django.contrib.auth.context_processors.auth",
|
||||||
"django.contrib.messages.context_processors.messages",
|
"django.contrib.messages.context_processors.messages",
|
||||||
"shiftregister.app.context_processors.proc",
|
"shiftregister.app.context_processors.proc",
|
||||||
"shiftregister.core.context_processors.footer_nav",
|
|
||||||
"shiftregister.core.context_processors.nav",
|
"shiftregister.core.context_processors.nav",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -148,6 +147,10 @@ USE_TZ = True
|
||||||
STATIC_ROOT = "/opt/shiftregister/static"
|
STATIC_ROOT = "/opt/shiftregister/static"
|
||||||
STATIC_URL = "static/"
|
STATIC_URL = "static/"
|
||||||
|
|
||||||
|
STATICFILES_DIRS = [
|
||||||
|
BASE_DIR / "assets",
|
||||||
|
]
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue