From d20c9531810638e49f8114c30bd44bbe5bcb1526 Mon Sep 17 00:00:00 2001 From: tobiasraabe Date: Sat, 3 Mar 2018 20:15:41 +0100 Subject: [PATCH] Changed to use /tree/master by default. --- layouts/partials/footer.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a4c3934..2c154f7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,9 +2,16 @@
{{ if .Site.Params.githubRepo }} - + {{ $length := len ( split .Site.Params.githubRepo "/" ) }} + {{ if eq $length 2 }} + + {{ else }} + + {{ end }} {{ end }}