mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-14 18:15:49 +00:00
4aa6626438
* Add lazy load attribute to menu logo * Async decode is not necessary Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
22 lines
681 B
Plaintext
22 lines
681 B
Plaintext
{{!
|
|
LogoDefinition logo
|
|
string link-mainpage link to the main page
|
|
string msg-sitesubtitle the contents of the sitesubtitle message key
|
|
}}
|
|
{{#data-logos}}
|
|
<a href="{{link-mainpage}}" class="mw-logo citizen-drawer__logo">
|
|
{{! alt is provided for valid HTML but given aria-hidden not needed. }}
|
|
<img class="mw-logo-icon" src="{{!
|
|
Pick an icon based on this order: Icon > SVG > 1x
|
|
Need a better way to indent the syntax below
|
|
}}{{#icon}}{{.}}{{/icon}}{{!
|
|
}}{{^icon}}{{!
|
|
}}{{#svg}}{{.}}{{/svg}}{{!
|
|
}}{{^svg}}{{!
|
|
}}{{#1x}}{{.}}{{/1x}}{{!
|
|
}}{{/svg}}{{!
|
|
}}{{/icon}}"{{!
|
|
}}alt="" aria-hidden="true" height="80" width="80" loading="lazy">
|
|
</a>
|
|
{{/data-logos}}
|