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" }} - + {{ if isset .Site.Params "avatarurl" }} + + {{ 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 @@ + {{ if isset .Site.Params "avatarurl" }} - + + {{ end }} {{ .Site.Title }} diff --git a/themes/gokarna/static/css/main.css b/themes/gokarna/static/css/main.css index 2dc34c3..5ba2b19 100644 --- a/themes/gokarna/static/css/main.css +++ b/themes/gokarna/static/css/main.css @@ -61,7 +61,6 @@ main#content { color: teal; } .header-nav .avatar { - border: 0.5px solid white; border-radius: 18px; float: left; height: 100%;