diff options
author | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-07-02 06:43:00 +0300 |
---|---|---|
committer | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-07-02 06:43:00 +0300 |
commit | def91b0135848601b14d02699d29acf6685d48db (patch) | |
tree | 604038d2cfa3df2ea55fb9e2179a82d85e83ec15 /layouts | |
parent | 3c701ff627cf9b20e01bb82a56156cc48469d09c (diff) |
Make URL to License configurable
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer.html | 6 |
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" }} |