doesitarm/src/layouts/embed.astro
2022-07-06 14:02:00 -05:00

36 lines
620 B
Text

---
import '~/assets/css/tailwind.css'
import { PageHead } from '~/helpers/config-node.js'
import GoogleAnalytics from '~/src/components/google-analytics.astro'
const {
// headTitle,
// headDescription,
headOptions = {}
} = Astro.props
// console.log('Astro.site', Astro.site )
const pageHead = new PageHead({
domain: Astro.site.origin,
...headOptions
})
---
<!doctype html>
<html lang="en">
<head>
<title>{ pageHead.title }</title>
<Fragment set:html={ pageHead.allHeadMarkup } />
<GoogleAnalytics />
</head>
<body>
<slot />
</body>
</html>