added authors website to site parameters. link to authors website can be included in the footer now.

This commit is contained in:
Alexander Becker 2017-07-19 19:56:00 +02:00
parent a9564d13d1
commit fa50dd6d0f
2 changed files with 7 additions and 2 deletions

View File

@ -31,6 +31,7 @@ pygmentCodeFences = true
[Author]
name = "Some Person"
website = "yourwebsite.com"
email = "youremail@domain.com"
facebook = "username"
googleplus = "+username" # or xxxxxxxxxxxxxxxxxxxxx
@ -89,4 +90,3 @@ pygmentCodeFences = true
name = "Tags"
url = "tags"
weight = 3

View File

@ -27,7 +27,12 @@
{{ end }}
</ul>
<p class="credits copyright text-muted">
{{ .Site.Author.name }}
{{ if .Site.Author.web }}
<a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
{{ else }}
{{ .Site.Author.name }}
{{ end }}
&nbsp;&bull;&nbsp;
{{ .Site.LastChange.Format "2006" }}