diff options
author | zzzmisa <zzzmisa.office@gmail.com> | 2022-02-03 18:16:28 +0300 |
---|---|---|
committer | zzzmisa <zzzmisa.office@gmail.com> | 2022-02-03 18:16:28 +0300 |
commit | ddb9886af07f39e8e926e231d7163cf53acd663d (patch) | |
tree | 3019c2a52b12b1ecce5df77c3500365723f985d1 | |
parent | 4972dfee01a7e26b7473010722e4b5a0d574877a (diff) |
Add avatar and name to contact section
-rw-r--r-- | layouts/index.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 6fb40de..26147e8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -118,14 +118,16 @@ <footer class="ampstart-footer flex flex-column items-center px3"> {{ with .Site.Params.contact }} - <p class="m3">{{ .description }}</p> + {{ with .avatar }}<img class="circle mb2" src="{{ . }}" width="96" height="96" class="block mx-auto" />{{ end }} + {{ with .name }}<h3 class="center h3 bold mb2">{{ . }}</h3>{{ end }} + {{ with .description }}<p class="max-width-1 mb2">{{ . }}</p>{{ end }} {{ `<!-- Icons are from Simple Icons v5.13.0 except email icon (The email icon is from The Scenic). https://github.com/simple-icons/simple-icons CC0 1.0 Universal -->` | safeHTML }} - <ul class="ampstart-social-follow list-reset flex justify-around items-center flex-wrap m0 mb4"> + <ul class="ampstart-social-follow list-reset flex justify-around items-center flex-wrap mt1 mb4"> {{ with .twitter }} <li class="mr1"> <a href="{{ . }}" target="_blank" class="inline-block p1" aria-label="Link to Twitter"> |