feat: add doctype html

pull/83/head
Eduardo San Martin Morote 5 years ago committed by 木荣
parent c71c69b7b3
commit fba4b3d29b

4972
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -4,6 +4,7 @@
<NavBar />
<ToggleSideBarButton @toggle="toggleSidebar" />
</header>
<template v-if="!$page.frontmatter.home">
<aside :class="{ open }">
<SideBar>
<template #top>
@ -19,6 +20,7 @@
:class="{ 'sidebar-open': open }"
@click="toggleSidebar(false)"
/>
</template>
<main>
<Page>
<template #top>

@ -54,6 +54,7 @@ export async function renderPage(
.join('\n ')
const html = `
<!DOCTYPE html>
<html lang="${siteData.lang}">
<head>
<meta charset="utf-8">

Loading…
Cancel
Save