From dd6354b0760d49f100ff33b4aed2b8530de399e3 Mon Sep 17 00:00:00 2001 From: Tony Ding Date: Wed, 14 Sep 2016 00:33:57 +0800 Subject: [PATCH] fix bug: The hyperlink address should end with the character of '/' As we all know the url of github is based on https protocol now, if the hyperlink address is not end with '/', the protocol of the url would become to http. This patch is to fix this bug. --- layouts/_default/terms.html | 2 +- layouts/partials/header.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 7aa817b..dbe3c0d 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -7,7 +7,7 @@
{{ range $key, $value := .Data.Terms }} - {{ if eq $data.Plural "tags"}}{{else}}{{end}}{{ $key }}
{{ len $value }}
+ {{ if eq $data.Plural "tags"}}{{else}}{{end}}{{ $key }}
{{ len $value }}
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d66f868..3061af5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,8 +18,8 @@