$newline never
$if hasSecondaryPageActions || hasPrimarySubActions
  <input .pagenav-item__expand-radio name=pagenav-item__expand-radio id=pageaction-item__expand-none type=radio checked uw-no-radiobox>
<ul .pagenav>
  $forall n <- filter isPageActionPrimary nav
    <li .pagenav__list-item>
      ^{navWidget n}
  $if hasSecondaryPageActions
    <li .pagenav__list-item .pagenav-secondary>
      <input .pagenav-item__expand-radio name=pagenav-item__expand-radio id=pageaction-item__expand-secondary type=radio uw-no-radiobox>
      <label .pagenav-item__expand-label for=pageaction-item__expand-secondary>
        <i .fas .fa-fw .fa-#{iconText IconPageActionSecondary}>
      <div .pagenav-item__children-wrapper>
        <ul .pagenav-item__children>
          $forall n <- filter isPageActionSecondary nav
            <li>
              ^{navWidget n}
        <label .pagenav-item__close-label for=pageaction-item__expand-none>
          #{iconPageActionChildrenClose}
