Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: move search input to navbar #20551

Merged
merged 4 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ params:
minGoVersion: 1.18
goVersion: 1.18
minNodeVersion: 14
search: nav

outputs:
home:
Expand Down
18 changes: 18 additions & 0 deletions docs/content/doc/help/search.de-de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
toc: false
draft: false
sitemap:
priority : 0.1
layout: "search"
---


This file exists solely to respond to /search URL with the related `search` layout template.

No content shown here is rendered, all content is based in the template layouts/doc/search.html

Setting a very low sitemap priority will tell search engines this is not important content.
6 changes: 0 additions & 6 deletions docs/content/doc/help/search.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ slug: "search"
weight: 4
toc: false
draft: false
menu:
sidebar:
parent: "help"
name: "Search"
weight: 4
identifier: "search"
sitemap:
priority : 0.1
layout: "search"
Expand Down
6 changes: 0 additions & 6 deletions docs/content/doc/help/search.fr-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ slug: "search"
weight: 4
toc: false
draft: false
menu:
sidebar:
parent: "help"
name: "Chercher"
weight: 4
identifier: "search"
sitemap:
priority : 0.1
layout: "search"
Expand Down
18 changes: 18 additions & 0 deletions docs/content/doc/help/search.nl-nl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
toc: false
draft: false
sitemap:
priority : 0.1
layout: "search"
---


This file exists solely to respond to /search URL with the related `search` layout template.

No content shown here is rendered, all content is based in the template layouts/doc/search.html

Setting a very low sitemap priority will tell search engines this is not important content.
18 changes: 18 additions & 0 deletions docs/content/doc/help/search.pt-br.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
toc: false
draft: false
sitemap:
priority : 0.1
layout: "search"
---


This file exists solely to respond to /search URL with the related `search` layout template.

No content shown here is rendered, all content is based in the template layouts/doc/search.html

Setting a very low sitemap priority will tell search engines this is not important content.
6 changes: 0 additions & 6 deletions docs/content/doc/help/search.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ slug: "search"
weight: 4
toc: false
draft: false
menu:
sidebar:
parent: "help"
name: "搜索"
weight: 4
identifier: "search"
sitemap:
priority : 0.1
layout: "search"
Expand Down
6 changes: 0 additions & 6 deletions docs/content/doc/help/search.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ slug: "search"
weight: 4
toc: false
draft: false
menu:
sidebar:
parent: "help"
name: "搜尋"
weight: 4
identifier: "search"
sitemap:
priority : 0.1
layout: "search"
Expand Down
6 changes: 0 additions & 6 deletions docs/layouts/doc/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
<div class=" content">
<section class="resume-section p-3 p-lg-5 d-flex flex-column">
<div class="my-auto" >
<form action="{{ "search" | absLangURL }}">
<label>Search:
<input id="search-query" name="s"/>
</label>
</form>
<br/>
<div id="search-results"></div>
</div>
</section>
Expand Down