diff options
author | Jason Tipton <jason@blueyetisoftware.com> | 2020-07-01 06:39:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 06:39:47 +0300 |
commit | 436746b1701f5983c17f8c90ff2b4445c176678c (patch) | |
tree | 9fcede22b507a122e77fa1d1c4e7fef8e2942234 /layouts | |
parent | 45e36f3532e5d80a18fb453d9d7176d14da761cb (diff) |
Allow a shorter 'nickname' for the initial home greeting (#23)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/home.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/layouts/partials/home.html b/layouts/partials/home.html index d87a3fb..90e3dd7 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -7,7 +7,14 @@ <img src="{{ if .Site.Params.author.image }}{{ .Site.Params.author.image }}{{ else }}/assets/images/default-avatar.png{{ end }}" class="rounded-circle mx-auto d-block img-fluid" /> - <h1 class="greeting">Hi, I am {{ if .Site.Params.author.name }}{{ .Site.Params.author.name }}{{ else }}Jane Doe{{ end }} + <h1 class="greeting">Hi, I am + {{ if .Site.Params.author.nickname }} + {{ .Site.Params.author.nickname }} + {{ else if .Site.Params.author.name }} + {{ .Site.Params.author.name }} + {{ else }} + Jane Doe + {{ end }} </h1> <div class="typing-carousel"> <span id="ityped" class="ityped"></span> |