Uninett/Argus

Document methods for customizing the logo

Offen

#1.035 geöffnet am 27.08.2024

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (20 Forks)auto 404
documentationfrontendgood first issue

Repository-Metriken

Stars
 (24 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 9T 5h) (26 gemergte PRs in 30 T)

Beschreibung

From Uninett/argus-htmx-frontend#72

Allows for overriding the navbar logo with a custom logo through context variables. A developer may for example create a context processor to change the logo and its associated properties:

def logo(request):
    return {
        "logo": {
            "file": "logo_color.png",
            "alt": "geant-argus",
            "url": "home",
        }
    }

Contributor Guide