A new property web.rootLink has been introduced to
customise the link underlying the top-left logo in GitBlit.
When undefined the older behaviour is to link to the
GitBlit home page.
# BASEFOLDER\r
web.headerLogo = ${baseFolder}/logo.png\r
\r
+# You may specify a different link URL for the logo image anchor.\r
+# If blank the Gitblit main page URL is used.\r
+#\r
+# SINCE 1.3.0\r
+# BASEFOLDER\r
+web.rootLink =\r
+\r
# You may specify a custom header background CSS color. If unspecified, the\r
# default color will be used.\r
#\r
add(new Label("title", siteName));\r
}\r
\r
- ExternalLink rootLink = new ExternalLink("rootLink", urlFor(GitBlitWebApp.HOME_PAGE_CLASS, null).toString());\r
+ String rootLinkUrl = GitBlit.getString(Keys.web.rootLink, urlFor(GitBlitWebApp.HOME_PAGE_CLASS, null).toString());\r
+ ExternalLink rootLink = new ExternalLink("rootLink", rootLinkUrl);\r
WicketUtils.setHtmlTooltip(rootLink, GitBlit.getString(Keys.web.siteName, Constants.NAME));\r
add(rootLink);\r
\r