feat: add span with class 'gdoc-brand__title' around site title (#168)

* Add CSS span to site title to allow for something I do on my site (where I use a larger logo and hide title except in narrow views)

* Update layouts/partials/site-header.html

Co-authored-by: Robert Kaussow <xoxys@rknet.org>

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
uci-hugo-doc
ListenerJubatus 2021-07-20 01:58:41 -06:00 committed by GitHub
parent 56a0d44a50
commit 4bdf727cea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
<span class="gdoc-brand flex align-center">
<img class="gdoc-brand__img" src="{{ (default "brand.svg" .Root.Site.Params.GeekdocLogo) | relURL }}" alt="">
{{ .Root.Site.Title }}
<span class="gdoc-brand__title">{{ .Root.Site.Title }}</span>
</span>
</a>
<span id="gdoc-dark-mode">