mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
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>
This commit is contained in:
parent
56a0d44a50
commit
4bdf727cea
@ -9,7 +9,7 @@
|
|||||||
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
|
<a class="gdoc-header__link" href="{{ .Root.Site.BaseURL }}">
|
||||||
<span class="gdoc-brand flex align-center">
|
<span class="gdoc-brand flex align-center">
|
||||||
<img class="gdoc-brand__img" src="{{ (default "brand.svg" .Root.Site.Params.GeekdocLogo) | relURL }}" alt="">
|
<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>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<span id="gdoc-dark-mode">
|
<span id="gdoc-dark-mode">
|
||||||
|
Loading…
Reference in New Issue
Block a user