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

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

Loading…
Cancel
Save