Merge pull request #80 from ROYALBEFF/master

added authors website to site parameters. link to authors website can…
This commit is contained in:
Michael Romero 2017-08-06 01:44:22 -07:00 committed by GitHub
commit 8b46f7cc2f
2 changed files with 9 additions and 2 deletions

View File

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

View File

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