aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/resources/dokka/templates
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/resources/dokka/templates')
-rw-r--r--plugins/base/src/main/resources/dokka/templates/includes/header.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/base/src/main/resources/dokka/templates/includes/header.ftl b/plugins/base/src/main/resources/dokka/templates/includes/header.ftl
index d5c7a613..d399e633 100644
--- a/plugins/base/src/main/resources/dokka/templates/includes/header.ftl
+++ b/plugins/base/src/main/resources/dokka/templates/includes/header.ftl
@@ -21,6 +21,9 @@
<@source_set_selector.display/>
</div>
<div class="navigation-controls">
+ <#if homepageLink?has_content>
+ <div class="navigation-controls--btn navigation-controls--homepage" id="homepage-link" role="button"><a href="${homepageLink}"></a></div>
+ </#if>
<button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button>
<div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div>
</div>