diff options
author | Marcelo Canina <me@marcanuy.com> | 2019-11-14 04:40:49 +0300 |
---|---|---|
committer | Marcelo Canina <me@marcanuy.com> | 2019-11-14 04:40:49 +0300 |
commit | 3c1ea8d7ce4df6959178ceafeee36dc9069901ce (patch) | |
tree | cb312fe576eab53c9f0d5ce3be59da653aa69659 | |
parent | c8a39b24f9198076afb131ea565594e1314eaf8a (diff) |
optional footer made-by note
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 62c7ecc..3d38b04 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,9 +10,11 @@ <div class="text-muted">{{.}}</div> {{- end -}} <ul class="footer-nav px-0"> + {{- with .Site.Params.author.name -}} <li> - <i class="fa fa-keyboard-o" aria-hidden="true"></i>{{ i18n "made-by" }} <a href="{{.Site.Params.author.website}}" rel="author">{{.Site.Params.author.name}}</a> + <i class="fa fa-keyboard-o" aria-hidden="true"></i>{{ i18n "made-by" }} <a href="{{$.Site.Params.author.website}}" rel="author">{{.}}</a> </li> + {{ end }} {{- with .Site.Params.author.twitter -}} <li> <i class="fab fa-twitter"></i> <a class="a-social a-tw" href="https://twitter.com/{{.}}" target="_blank"> @{{.}}</a> |