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" title = "Light Hugo"
author = "John Doe" author = "John Doe"
copyright = "© Copyright 2016 John Doe"
[Params] [Params]
description = "Describe your website" description = "Describe your website"

View file

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

View file

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

File diff suppressed because one or more lines are too long