|
1 | 1 | <#import "source_set_selector.ftl" as source_set_selector>
|
2 | 2 | <#macro display>
|
3 | 3 | <nav class="navigation" id="navigation-wrapper">
|
4 |
| - <div class="navigation--inner"> |
5 |
| - <div class="navigation-title"> |
6 |
| - <button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button> |
7 |
| - <div class="library-name"> |
8 |
| - <@template_cmd name="pathToRoot"> |
9 |
| - <a class="library-name--link" href="${pathToRoot}index.html"> |
10 |
| - <@template_cmd name="projectName"> |
11 |
| - ${projectName} |
12 |
| - </@template_cmd> |
13 |
| - </a> |
14 |
| - </@template_cmd> |
15 |
| - </div> |
16 |
| - <div class="library-version"> |
17 |
| - <#-- This can be handled by the versioning plugin --> |
18 |
| - <@version/> |
19 |
| - </div> |
20 |
| - </div> |
21 |
| - <@source_set_selector.display/> |
22 |
| - </div> |
23 |
| - <div class="navigation-controls"> |
24 |
| - <#if homepageLink?has_content> |
25 |
| - <a class="navigation-controls--btn navigation-controls--homepage" id="homepage-link" href="${homepageLink}"></a> |
26 |
| - </#if> |
27 |
| - <button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button> |
28 |
| - <div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div> |
| 4 | + <div class="navigation--inner"> |
| 5 | + <div class="navigation-title"> |
| 6 | + <button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button> |
| 7 | + <div class="library-name"> |
| 8 | + <@template_cmd name="pathToRoot"> |
| 9 | + <a class="library-name--link" href="${pathToRoot}index.html"> |
| 10 | + <@template_cmd name="projectName"> |
| 11 | + ${projectName} |
| 12 | + </@template_cmd> |
| 13 | + </a> |
| 14 | + </@template_cmd> |
| 15 | + </div> |
| 16 | + <div class="library-version"> |
| 17 | + <#-- This can be handled by the versioning plugin --> |
| 18 | + <@version/> |
| 19 | + </div> |
29 | 20 | </div>
|
| 21 | + <@source_set_selector.display/> |
| 22 | + </div> |
| 23 | + <div class="navigation-controls"> |
| 24 | + <a class="navigation-controls--btn navigation-controls--homepage" id="homepage-link" href="/" target="_blank"></a> |
| 25 | + <button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button> |
| 26 | + <div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div> |
| 27 | + </div> |
30 | 28 | </nav>
|
31 | 29 | </#macro>
|
0 commit comments