-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 --> | ||
|
@@ -41,7 +40,6 @@ | |
<a href="/api" class="md-tabs__link">API</a> | ||
</li> | ||
<!-- End Add --> | ||
|
||
</ul> | ||
</div> | ||
</nav> |