Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurizal Susanto <rizal.sagi@gmail.com>2017-07-02 06:43:00 +0300
committerYurizal Susanto <rizal.sagi@gmail.com>2017-07-02 06:43:00 +0300
commitdef91b0135848601b14d02699d29acf6685d48db (patch)
tree604038d2cfa3df2ea55fb9e2179a82d85e83ec15 /layouts
parent3c701ff627cf9b20e01bb82a56156cc48469d09c (diff)
Make URL to License configurable
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 56eb629..97f4ef9 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -8,8 +8,10 @@
{{ T "usedTheme" }} <a href="https://github.com/yursan9/manis-hugo-theme">Manis</a><br>
{{ end }}
{{ with .Site.Copyright }}
- {{ . | safeHTML }} |
- <a href="/about/license">{{ T "license" }}</a>
+ {{ . | safeHTML }}
+ {{ end }}
+ {{ with .Site.Params.LicenseURL }}
+ | <a href="{{.}}">{{ T "license" }}</a>
{{ end }}
</p>
{{ if ne .Kind "home" }}