<script props>
  module.exports = {
    page: props.page,
    selected: Number(props.selected),
  }
</script>
<a href="/src/{{page}}" hx-get="/partials/{{page}}" hx-push-url="/{{page}}" role="tab"
  aria-selected="{{ selected == 0 }}" class="{{ selected % 2 == 0 ? 'tab-alt' : '' }}" aria-controls="tab-content">
  <yield></yield>
</a>