From a00be0c20d7d8a88cd170faa3029e7df6dcd7f92 Mon Sep 17 00:00:00 2001 From: Jannis Achstetter Date: Tue, 28 Mar 2017 16:48:16 +0200 Subject: [PATCH] Allow configuring a tagline that is displayed on the webpage between the header and the list of packages. --- conf/full.yaml | 3 +++ lib/GUI/index.hbs | 7 +++++++ lib/index-web.js | 1 + 3 files changed, 11 insertions(+) diff --git a/conf/full.yaml b/conf/full.yaml index 965594767..e3aef331e 100644 --- a/conf/full.yaml +++ b/conf/full.yaml @@ -20,6 +20,9 @@ web: title: Verdaccio # logo: logo.png # template: custom.hbs + # tagline: "Some HTML enabled tagline that sits between the actual \ +#header and the list of packages. You can even add links!" auth: htpasswd: diff --git a/lib/GUI/index.hbs b/lib/GUI/index.hbs index cd2585377..4c47d7bbf 100644 --- a/lib/GUI/index.hbs +++ b/lib/GUI/index.hbs @@ -59,6 +59,13 @@ {{ baseUrl }}
+ {{#if tagline}} +
+
+ {{{tagline}}} +
+
+ {{/if}}