From 4cf9cce6add6876b35058f847e132c41ea09a116 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Thu, 16 Jan 2020 20:31:28 +0100 Subject: [PATCH] fix: add parameters on sample and var for logo --- config.sample.json | 3 +++ src/header.pug | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.sample.json b/config.sample.json index 27aed52..dd243e8 100644 --- a/config.sample.json +++ b/config.sample.json @@ -1,6 +1,9 @@ { "xmpp": "https://jabber.happy-dev.fr/http-bind/", "authority": "http://localhost:8000/", + "clientLogo": "/images/logo.png", + "authorityName": "djangoldp-server-name", + "clientName": "Sib App", "endpoints": { "businessproviders": "http://localhost:8000/businessproviders/", "circles": "http://localhost:8000/circles/", diff --git a/src/header.pug b/src/header.pug index 9edcdb0..f790909 100644 --- a/src/header.pug +++ b/src/header.pug @@ -1,6 +1,6 @@ #logo sib-link(next='members') - img(src='/images/logo.png' width=111 height=32) + img(src=`${clientLogo || '/images/logo.png'}` width=111 height=32) //- #search-bar //- input#search-input(type='search')