From f4187ee812dffcedf9d17ada560327d205ba3b97 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Tue, 2 Oct 2018 18:54:25 +0200 Subject: [PATCH] Add search link to navigation --- config.toml | 5 ----- content/search/_index.md | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/config.toml b/config.toml index 809dcf5..522c58f 100644 --- a/config.toml +++ b/config.toml @@ -33,11 +33,6 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link weight = 2 identifier = "post" url = "/post/" - [[menu.main]] - name = "Search" - weight = 10 - identifier = "search" - url = "/search/" [outputs] home = ["HTML", "RSS", "JSON"] section = ["HTML", "RSS", "JSON"] diff --git a/content/search/_index.md b/content/search/_index.md index e4f886c..6d79682 100644 --- a/content/search/_index.md +++ b/content/search/_index.md @@ -2,6 +2,7 @@ title = "Search" # title of the page layout = "search" # sets the layout to use noindex = true # tell robots not to index +menu = "main" [form] helpblock = "Press s to focus input anytime." [form.input]