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,21 +4,23 @@
<NavBar />
<ToggleSideBarButton @toggle="toggleSidebar" />
</header>
<aside :class="{ open }">
<SideBar>
<template #top>
<slot name="sidebar-top" />
</template>
<template #bottom>
<slot name="sidebar-bottom" />
</template>
</SideBar>
</aside>
<div
class="sidebar-mask"
:class="{ 'sidebar-open': open }"
@click="toggleSidebar(false)"
/>
<template v-if="!$page.frontmatter.home">
<aside :class="{ open }">
<SideBar>
<template #top>
<slot name="sidebar-top" />
</template>
<template #bottom>
<slot name="sidebar-bottom" />
</template>
</SideBar>
</aside>
<div
class="sidebar-mask"
: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