From 63e567d73d74bf8d1a8cce3700b7f202da9d0efa Mon Sep 17 00:00:00 2001 From: Stephan Schulz <stephan.schulz-x2q@rub.de> Date: Thu, 3 Dec 2020 14:52:57 +0100 Subject: [PATCH] ugly workaround, change theme to open in same window --- .../layouts/partials/original/body-beforecontent.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/hugo-theme-docdock-master/layouts/partials/original/body-beforecontent.html b/themes/hugo-theme-docdock-master/layouts/partials/original/body-beforecontent.html index 733ca22..d3d4dd5 100644 --- a/themes/hugo-theme-docdock-master/layouts/partials/original/body-beforecontent.html +++ b/themes/hugo-theme-docdock-master/layouts/partials/original/body-beforecontent.html @@ -41,7 +41,7 @@ {{- range sort . "Weight"}} <li class="" role=""> {{- .Pre -}} - <a href="{{.URL}}" target="_blank" rel="noopener">{{safeHTML .Name}}</a> + <a href="{{.URL}}" target="_self" rel="noopener">{{safeHTML .Name}}</a> {{- .Post -}} </li> {{- end}} -- GitLab