From b7046caefc9d6b0b4d53302b386eccfcb8e81475 Mon Sep 17 00:00:00 2001 From: Eric Semeniuc <3838856+esemeniuc@users.noreply.github.com> Date: Thu, 26 Mar 2020 08:57:14 -0700 Subject: add avatar description support --- exampleSite/config.toml | 1 + layouts/index.html | 2 +- layouts/partials/header.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 895986e..d619e94 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,6 +13,7 @@ hasCJKLanguage = true [params] author = "Your Name" avatar = "avatar.jpg" + # avatarDescription = "My avatar description" favicon = "favicon.ico" description = """ Please write anything here. diff --git a/layouts/index.html b/layouts/index.html index 9956da5..cbf8b8b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,7 +7,7 @@
- avatar + {{ .Site.Params.avatarDescription }} avatar-border
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index cf8a7ba..c3db6c4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@
- + {{ .Site.Params.avatarDescription }}
-- cgit v1.2.3