From 229c82d4e9d941232e4fc0bda7ad2cfbbfa55d6c Mon Sep 17 00:00:00 2001 From: Darshan Baral Date: Mon, 3 May 2021 07:08:44 -0700 Subject: added header in sidebr --- exampleSite/config.toml | 1 + layouts/index.html | 1 + layouts/partials/header.html | 6 +++--- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9b26312..4e5d128 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,6 +4,7 @@ theme = "sada" disableKinds = ["taxonomy", "taxonomyTerm"] [params] + name = "example.org" title = "Sada Theme" author = "Darshan Baral" description = "Simple single page resume theme" diff --git a/layouts/index.html b/layouts/index.html index 0d46702..d5a929f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,6 +3,7 @@ class="w-full sm:w-2/5 bg-gray-200 dark:bg-dark2 p-3 rounded shadow flex flex-col justify-between" >
+

{{ .Site.Params.profile.name }}

{{ partial "profilePhoto" . }} {{ partial "social.html" . }} {{ partial "aboutDesc" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e2cb2a3..22cd6f4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@ -
-

{{ .Site.Params.profile.name }}

+
+ {{ .Site.Params.name }}
-- cgit v1.2.3