diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 24c94bf2..26e76804 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -32,6 +32,7 @@ copyright = "This work is licensed under a Creative Commons Attribution-NonComme footerCopyright = ' · CC BY-NC 4.0' # gitUrl = "https://github.com/Someone/SomeRepo/commit/" # Prefix of link to you git commit detail page. GitInfo must be enabled. justifyContent = false # Set "text-align: justify" to .content + # bgImg = "" # Homepage background-image URL [[params.social]] name = "twitter" diff --git a/layouts/index.html b/layouts/index.html index 702c2c4b..c36f3d39 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,7 @@ {{ define "main" }} + {{- with .Site.Params.bgImg }} +
+ {{- end }}

{{ .Site.Title }}