Skip to content

Commit

Permalink
Update partial
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 6, 2025
1 parent 9c67989 commit 9fba4f6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/overrides/partials/tabs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2016-2020 Martin Donath <[email protected]>
Copyright (c) 2016-2025 Martin Donath <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
Expand All @@ -20,19 +20,18 @@
IN THE SOFTWARE.
-->

<!-- Hack: unset variable, as we're using it recursively in tabs-item.html -->
{% set class = "" %}
{% import "partials/tabs-item.html" as item with context %}

<!-- Navigation tabs -->
<nav
class="md-tabs"
aria-label="{{ lang.t('tabs.title') }}"
aria-label="{{ lang.t('tabs') }}"
data-md-component="tabs"
>
<div class="md-tabs__inner md-grid">
<div class="md-grid">
<ul class="md-tabs__list">
{% for nav_item in nav %}
{% include "partials/tabs-item.html" %}
{{ item.render(nav_item) }}
{% endfor %}

<!-- MW: Add link built outside of mkdocs -->
Expand All @@ -41,7 +40,6 @@
<a href="/api" class="md-tabs__link">API</a>
</li>
<!-- End Add -->

</ul>
</div>
</nav>

0 comments on commit 9fba4f6

Please sign in to comment.