diff --git a/docs/layouts/partials/docs/top-header.html b/docs/layouts/partials/docs/top-header.html new file mode 100644 index 00000000..375ff779 --- /dev/null +++ b/docs/layouts/partials/docs/top-header.html @@ -0,0 +1,133 @@ + +
+
+
+ +
+ {{ with resources.Get "images/logos/mark.svg" }} + {{ .Content | safeHTML }} + {{ end }} +
+
+ {{ with resources.Get "images/logos/logo.svg" }} + {{ .Content | safeHTML }} + {{ end }} +
+
+ + {{ if and (.Site.Params.docsearch.appID) (.Site.Params.docsearch.apiKey) -}} +
+ {{ end }} + {{ if or (not (isset .Site.Params.flexsearch "enabled")) (eq .Site.Params.flexsearch.enabled true) -}} + {{ if and (.Site.Params.docsearch.appID) (.Site.Params.docsearch.apiKey) -}} + {{ else }} + + + {{ end }} + {{ end -}} +
+
+
Star us on GitHub ! 
+ + Star +
+
+ + {{ if eq .Site.Params.docs.darkMode true -}} + + {{ end -}} + {{ if .Site.IsMultiLingual }} + + {{ end }} +
+
+ + {{ if or (not (isset .Site.Params.flexsearch "enabled")) (eq .Site.Params.flexsearch.enabled true) -}} + {{ if and (.Site.Params.docsearch.appID) (.Site.Params.docsearch.apiKey) -}} + {{ else }} +
+
+
+
  • + + + {{ i18n "search_navigate" | default "to navigate" }} +
  • +
  • + + {{ i18n "search_select" | default "to select" }} +
  • +
  • + + {{ i18n "search_close" | default "to close" }} +
  • +
    +
    +
    + + +
    +
    +
    +
    +
    + {{ end }} + {{ end }} + +
    + \ No newline at end of file