Compare commits
8 Commits
main
...
slorber/de
| Author | SHA1 | Date |
|---|---|---|
|
|
0423acf493 | |
|
|
ddcdc8f69b | |
|
|
a6c678c91b | |
|
|
f4cc3d3367 | |
|
|
3ba0f9875f | |
|
|
4414e33538 | |
|
|
57853616c0 | |
|
|
c8ef53c670 |
|
|
@ -132,6 +132,7 @@ export async function start(
|
|||
inject: false,
|
||||
filename: 'index.html',
|
||||
title: siteConfig.title,
|
||||
scriptLoading: 'defer',
|
||||
headTags,
|
||||
preBodyTags,
|
||||
postBodyTags,
|
||||
|
|
|
|||
|
|
@ -22,18 +22,12 @@ export default `
|
|||
<% it.stylesheets.forEach((stylesheet) => { %>
|
||||
<link rel="stylesheet" href="<%= it.baseUrl %><%= stylesheet %>" />
|
||||
<% }); %>
|
||||
<% it.scripts.forEach((script) => { %>
|
||||
<link rel="preload" href="<%= it.baseUrl %><%= script %>" as="script">
|
||||
<% }); %>
|
||||
</head>
|
||||
<body <%~ it.bodyAttributes %>>
|
||||
<%~ it.preBodyTags %>
|
||||
<div id="__docusaurus">
|
||||
<%~ it.appHtml %>
|
||||
</div>
|
||||
<% it.scripts.forEach((script) => { %>
|
||||
<script src="<%= it.baseUrl %><%= script %>"></script>
|
||||
<% }); %>
|
||||
<%~ it.postBodyTags %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue