From e43c2cff5873c57a6b7c6e10b8763c7202890a1e Mon Sep 17 00:00:00 2001 From: Juan Valencia Date: Mon, 2 Sep 2019 15:47:27 +0200 Subject: [PATCH] Consolidate two MicrositeEditButton href tags into one (#324) --- src/main/scala/microsites/layouts/DocsLayout.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/scala/microsites/layouts/DocsLayout.scala b/src/main/scala/microsites/layouts/DocsLayout.scala index 4c9cb008..bf42ba40 100644 --- a/src/main/scala/microsites/layouts/DocsLayout.scala +++ b/src/main/scala/microsites/layouts/DocsLayout.scala @@ -162,8 +162,7 @@ class DocsLayout(config: MicrositeSettings) extends Layout(config) { div( cls := "edit-button", a( - href := config.gitSiteUrl, - href := button.basePath, + href := s"${config.gitSiteUrl}${button.basePath}", cls := "btn-sm btn-info", button.text )