diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 1eadbc0..fc0418b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -98,4 +98,5 @@ - [cuso4-5h2o](https://www.cuso4.me) - [freeformz](https://icanhazdowntime.org) - [Roberto Gongora](https://yourfavourite.blog) +- [Vladislav Matus](https://github.com/matusvla) - [Kirill Feoktistov](https://feoktistoff.org) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5f1956f..dc8eb44 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,7 +15,7 @@ enableEmoji = true author = "John Doe" description = "John Doe's personal website" keywords = "blog,developer,personal" -info = "Full Stack DevOps and Magician" +info = ["Full Stack DevOps", "Magician"] avatarURL = "images/avatar.jpg" #gravatar = "john.doe@example.com" footerContent = "Enter a text here." diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 188f26e..ff640dd 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -9,7 +9,11 @@
gravatar
{{ end }}

{{ .Site.Params.author }}

+ {{ if reflect.IsSlice .Site.Params.info }} +

{{ range .Site.Params.info }}{{.}}
{{ end}}

+ {{ else }}

{{ .Site.Params.info }}

+ {{ end }} {{ with .Site.Params.social }}