1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 17:05:32 -04:00

create inline-svg partial function

[skip ci]
This commit is contained in:
2020-05-14 13:36:27 -04:00
parent 59a92fc60e
commit 24edb85379
7 changed files with 7 additions and 22 deletions

View File

@@ -250,7 +250,7 @@
<header>
<nav>
<a id="logo" href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">
{{ partial "svg/logo.svg" (dict "width" 30 "height" 45) }}
{{ partial "functions/inline-svg" (dict "src" "img/logo.svg" "width" 30 "height" 45) }}
<span id="name">{{ .Site.Title }}</span>
</a>