Allow a shorter 'nickname' for the initial home greeting (#23)
This commit is contained in:
parent
45e36f3532
commit
436746b170
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue