Debian Codegraph @

skins/Vector/includes/templates/Logo.mustache

raw
1 {{!
2 LogoDefinition logo
3 string link-mainpage link to the main page (from SkinMustache in core)
4 string msg-sitesubtitle the contents of the sitesubtitle message key
5 }}
6 <a href="{{link-mainpage}}" class="mw-logo">
7 {{#icon}}
8 {{! alt is provided for valid HTML but given aria-hidden not needed. }}
9 <img class="mw-logo-icon" src="{{.}}" alt="" aria-hidden="true" height="50" width="50">
10 {{/icon}}
11 <span class="mw-logo-container skin-invert">
12 {{#wordmark}}
13 {{!-- djlint:off H006 --}}
14 <img class="mw-logo-wordmark" alt="{{msg-sitetitle}}" src="{{src}}" style="{{style}}">
15 {{!-- djlint:on H006 --}}
16 {{/wordmark}}
17 {{^wordmark}}
18 <strong class="mw-logo-wordmark">{{msg-sitetitle}}</strong>
19 {{/wordmark}}
20 {{#tagline}}
21 <img class="mw-logo-tagline" alt="{{msg-sitesubtitle}}" src="{{src}}" width="{{width}}" height="{{height}}" style="{{style}}">
22 {{/tagline}}
23 </span>
24 </a>