mediawiki-skins-Vector/includes/templates/Sidebar.mustache
jdlrobson 59747a58c8 Separate first portal in sidebar from rest
This allows us to insert HTML underneath the first portal or wrap
the portal in a containing element in future if we want to target
additional CSS to it

Change-Id: Ied28d95407b8d59fc819bb07a2cce3242bd93088
2020-03-11 23:34:11 +00:00

17 lines
400 B
Plaintext

{{!
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
array array-portals contains options for Portal template
}}
<div id="mw-panel">
<div id="p-logo" role="banner">
<a {{{html-logo-attributes}}}></a>
</div>
{{#array-portals-first}}
{{>Portal}}
{{/array-portals-first}}
{{#array-portals-rest}}
{{>Portal}}
{{/array-portals-rest}}
</div>