Add copyright option

This commit is contained in:
Tony Blyler 2016-11-09 16:33:43 -05:00
parent 507c0a2162
commit 94d195d2e4
4 changed files with 11 additions and 1 deletions

View file

@ -6,6 +6,7 @@ theme = "light-hugo"
title = "Light Hugo"
author = "John Doe"
copyright = "© Copyright 2016 John Doe"
[Params]
description = "Describe your website"

View file

@ -9,5 +9,10 @@
<a href="#top">Top</a>
</div>
{{ partial "foot.html" . }}
{{ if .Site.Copyright }}
<p id="copyright">
{{ .Site.Copyright }}
</p>
{{ end }}
</body>
</html>

View file

@ -31,6 +31,10 @@ a:hover {
}
}
#copyright {
color: darken(white, 50);
}
#logo {
margin-top: 1%;
}

File diff suppressed because one or more lines are too long