Move DocSearch styles before headComponents

This commit is contained in:
Ines Montani 2019-02-25 21:39:10 +01:00
parent c5dd450a75
commit 1232ccbc0f
1 changed files with 1 additions and 1 deletions

View File

@ -11,11 +11,11 @@ export default function HTML(props) {
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
{props.headComponents}
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
/>
{props.headComponents}
</head>
<body {...props.bodyAttributes}>
{props.preBodyComponents}