---
import Footer from '../components/template_2/Footer.astro'
import Header from '../components/template_2/Header.astro'
import '../styles/template_2/common-v4-nav-v2.css'
import '../styles/template_2/style.css'
import '../styles/template_2/nav.css'
const { description = '', title = '', keywords = '', breadcrumb = [] } = Astro.props;
import {getConfig} from '../../utils/config'
const config = getConfig(Astro)
console.log(config)
---
<!doctype html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width" />
		<meta name="applicable-device"content="pc,mobile">
		<link rel="icon" type="image/svg+xml" href={config.app_logo} />
		<title>{title}</title>
		<meta name="description" content={description} />
		<meta name="keywords" content={keywords} />
		{config.app_baidu_zhanzhang ? <Fragment set:html={config.app_baidu_zhanzhang} /> : ''}
		<!-- <link href="https://fonts.googleapis.com/css2?family=Graphik:wght@400;500;600;700&display=swap" rel="stylesheet"> -->
	</head>
	<body class="app-v4 page-name-books none-ecommerce">
		<Header />
		<!-- <main> -->
			<slot />
		<!-- </main> -->
		 <Footer path={breadcrumb}/>
	</body>
</html>
