Skip to content

Commit 4ded22f

Browse files
authored
Direct to all in one page for search (#131)
* remove search-form from header * add aio link * hard label search * change search to button * remove list formatting * make button text descriptive * Update inst/pkgdown/templates/header.html Make "Search in this lesson's "all in one" page" translatable. * only show search for not overview
1 parent bc84585 commit 4ded22f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/pkgdown/templates/header.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@
181181
{{/more}}
182182
</ul>
183183
</div>
184+
<!--
184185
<form class="d-flex col-md-2 search-form">
185186
<fieldset disabled>
186187
<input class="form-control me-2 searchbox" type="search" placeholder="{{ translate.Search }}" aria-label="{{ translate.Search }}">
@@ -189,6 +190,10 @@
189190
</button>
190191
</fieldset>
191192
</form>
193+
-->
194+
{{^overview}}
195+
<a class="btn btn-primary" href="{{#site}}{{root}}{{/site}}aio.html" role="button">{{ translate.SearchButton }}</a>
196+
{{/overview}}
192197
</div><!--/div.container-fluid -->
193198
</nav>
194199

0 commit comments

Comments
 (0)