initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{{- if and (not .Site.Params.disableSearchIndex) (not .Site.Params.disableSearchPage) }}
|
||||
{{- .EnableAllLanguages }}
|
||||
{{- $url := trim (or .Site.Params.searchPageURL "search") "/" }}
|
||||
{{- $content := dict
|
||||
"mediaType" "text/markdown"
|
||||
"value" ""
|
||||
}}
|
||||
{{- $page := dict
|
||||
"content" $content
|
||||
"kind" "page"
|
||||
"outputs" (slice "html")
|
||||
"path" "_relearn_searchpage"
|
||||
"title" (T "Search")
|
||||
"type" "_relearn_searchform"
|
||||
"url" $url
|
||||
}}
|
||||
{{- .AddPage $page }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,6 @@
|
||||
+++
|
||||
[_build]
|
||||
render = "never"
|
||||
list = "never"
|
||||
publishResources = false
|
||||
+++
|
||||
Reference in New Issue
Block a user