Uninett/Argus

Document methods for customizing the logo

オープン

#1,035 opened on 2024/08/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (20 件のフォーク)auto 404
documentationfrontendgood first issue

Repository metrics

Stars
 (24 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド