Skip to content

Commit 3710a00

Browse files
data: remove bad top nav links from antora site (#651)
relates to #646 Default antora bundle zip pulling in template links remove those by overriding in playbook looks like this now: ![image](https://github.com/user-attachments/assets/8f35011e-f56d-4cb1-964b-0f10bb746810) In the future we could probably put useful links in the top nav, but for now this just removes the useless ones.
1 parent c49e942 commit 3710a00

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

backends/manual/templates/playbook.yml.erb

+16
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,19 @@ ui:
107107
.edit-this-page {
108108
display: none !important;
109109
}
110+
- path: partials/header-content.hbs
111+
contents: |
112+
<header class="header">
113+
<nav class="navbar">
114+
<div class="navbar-brand">
115+
<a class="navbar-item" href="{{{or site.url siteRootPath}}}">{{site.title}}</a>
116+
{{#if env.SITE_SEARCH_PROVIDER}}
117+
<div class="navbar-item search hide-for-print">
118+
<div id="search-field" class="field">
119+
<input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
120+
</div>
121+
</div>
122+
{{/if}}
123+
</div>
124+
</nav>
125+
</header>

0 commit comments

Comments
 (0)