new site param: logoAlt
This commit is contained in:
parent
78021345d9
commit
fa9968a3ed
|
@ -28,6 +28,7 @@ params:
|
||||||
search: true
|
search: true
|
||||||
showThemeSwitcher: true
|
showThemeSwitcher: true
|
||||||
moveFooterToHeader: false
|
moveFooterToHeader: false
|
||||||
|
logoAlt: "An alternative text description of the logo"
|
||||||
customCss:
|
customCss:
|
||||||
- css/custom_01.css
|
- css/custom_01.css
|
||||||
- css/custom_02.css
|
- css/custom_02.css
|
||||||
|
|
|
@ -6,7 +6,9 @@
|
||||||
href="{{ .Site.BaseURL }}"
|
href="{{ .Site.BaseURL }}"
|
||||||
aria-label="{{ .Site.Title }} home page"
|
aria-label="{{ .Site.Title }} home page"
|
||||||
>
|
>
|
||||||
<img src="{{ "images/logo.svg" | relURL }}" alt="">
|
<img
|
||||||
|
src="{{ "images/logo.svg" | relURL }}"
|
||||||
|
alt="{{ .Site.Params.logoAlt | default "Logo" }}">
|
||||||
</a>
|
</a>
|
||||||
<p class="library-desc">
|
<p class="library-desc">
|
||||||
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
|
{{ with .Site.Params.description }} {{ . | markdownify }} {{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user