import BaseLayout from 'jeawin-astro/src/layouts/Layout.astro';
---
import BaseLayout from 'jeawin-astro/src/layouts/Layout.astro';
// 项目自己的header组件,用于替换默认header
import Header from "./Header.astro";
// 项目自己的footer组件,用于替换默认footer
import Footer from "./Footer.astro";
const {
seo_title,
seo_keywords,
seo_description,
menu_root_link_id,
page_type,
channel_id,
category_id,
node_id,
ldjson,
hreflang,
canonical,
is_home,
channelinfo,
categoryinfo,
nodeinfo,
url,
uri,
field_array,
} = Astro.props;
---
<BaseLayout
title=""
seo_title={seo_title}
seo_keywords={seo_keywords}
seo_description={seo_description}
menu_root_link_id={menu_root_link_id}
page_type={page_type}
channel_id={channel_id}
category_id={category_id}
node_id={node_id}
ldjson={ldjson}
hreflang={hreflang}
is_home={is_home}
channelinfo={channelinfo}
categoryinfo={categoryinfo}
nodeinfo={nodeinfo}
url={url}
uri={uri}
field_array={field_array}
canonical={canonical}
>
<Header slot="page-header" menu_root_link_id={menu_root_link_id} />
<slot />
<Footer slot="page-footer" is_home={is_home} canonical={canonical} channel_id={channel_id} category_id={category_id} url={url} uri={uri} />
</BaseLayout>