diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 779f3a2..7caec5d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -11,6 +11,8 @@ pygmentsStyle = "emacs" [params] footer = "The Marauders" + description = "You miss 100% of the shots you don't take" + avatarURL = "https://upload.wikimedia.org/wikipedia/commons/7/7a/1859-Martinique.web.jpg" [menu] [[menu.main]] diff --git a/themes/gokarna/layouts/index.html b/themes/gokarna/layouts/index.html index 3fc964b..68e0408 100644 --- a/themes/gokarna/layouts/index.html +++ b/themes/gokarna/layouts/index.html @@ -1,9 +1,11 @@ {{ define "main" }}
- avatar + {{ if isset .Site.Params "avatarurl" }} + avatar + {{ end }}
-

Chaman Chutiya

-

Software Developer

+

{{ .Site.Title }}

+

{{ .Site.Params.Description }}

{{ end }} diff --git a/themes/gokarna/layouts/partials/header.html b/themes/gokarna/layouts/partials/header.html index 5a5707b..92d0fbb 100644 --- a/themes/gokarna/layouts/partials/header.html +++ b/themes/gokarna/layouts/partials/header.html @@ -1,11 +1,13 @@