Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow logo customization through context #72

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

elfjes
Copy link
Contributor

@elfjes elfjes commented Aug 27, 2024

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",
        }
    }

@hmpf hmpf merged commit d0766b8 into Uninett:main Aug 27, 2024
@hmpf
Copy link
Collaborator

hmpf commented Aug 27, 2024

#73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants