1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 04:18:57 -05:00

swap logo in header with my face 📸

This commit is contained in:
2021-05-26 21:40:12 -04:00
parent 5f81813e75
commit 233349781e
9 changed files with 101 additions and 113 deletions

View File

@@ -1,7 +1,10 @@
<header>
<nav>
<a class="no-underline" href="{{ .Site.BaseURL }}" id="logo" rel="me author" aria-label="{{ .Site.Title }}">
{{ if fileExists "assets/img/logo.svg" }}{{ partial "functions/inline-svg" (dict "src" "img/logo.svg" "width" 28 "height" 40) }}{{ end }}
{{ $meImg := resources.Get .Site.Author.image }}
{{ $meImgSm := $meImg.Resize "160x160 q90 jpg" }}
<img id="selfie" src="{{ $meImgSm.Permalink }}" width="54" height="54" alt="Photo of Jake Jarvis">
<span id="name">{{ .Site.Title }}</span>
</a>
<ul>