Add copyright option
This commit is contained in:
parent
507c0a2162
commit
94d195d2e4
4 changed files with 11 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
Loading…
Reference in a new issue