mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-16 18:15:17 +00:00
feat: add Docsearch to 404 page
This commit is contained in:
1 parent
708b38cecc
commit
71f51091fb
3 files changed
+3
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
name: 🐛 Bug Report
|
||||
description: Something isn't working as expected? Report your bugs here.
|
||||
labels: [bug]
|
||||
labels: ['bug', 'needs triage']
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
name: 🚀 Feature request
|
||||
description: Suggest an improvement.
|
||||
title: Suggest an improvement
|
||||
labels: [proposal]
|
||||
assignees: []
|
||||
body:
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<form class="d-flex align-items-center mb-3">
|
||||
<input name="q" type="search" class="form-control" placeholder="{{ i18n "search_placeholder" }}" autocomplete="off">
|
||||
</form>
|
||||
{{ else if eq (lower site.Params.features.search.provider) "docsearch" }}
|
||||
<div id="docsearch" style="margin-left: -16px" class="mb-2"></div>
|
||||
{{ end }}
|
||||
|
||||
{{/* Suggest recently published pages to the user. */}}
|
||||
|
||||
Reference in new issue
Block a user