Uninett/Argus

Document methods for customizing the logo

Open

#1,035 opened on Aug 27, 2024

 (0 comments) (0 reactions) (0 assignees)Python (20 forks)auto 404
documentationfrontendgood first issue

Repository metrics

Stars
 (24 stars)
PR merge metrics
 (PR metrics pending)

Description

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