mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add Embed layout
This commit is contained in:
parent
690f420f62
commit
f586065979
1 changed files with 34 additions and 0 deletions
34
src/layouts/embed.astro
Normal file
34
src/layouts/embed.astro
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
---
|
||||||
|
import '~/assets/css/tailwind.css'
|
||||||
|
|
||||||
|
import { PageHead } from '~/helpers/config-node.js'
|
||||||
|
|
||||||
|
import VueBaseLayout from '../../layouts/base.vue'
|
||||||
|
|
||||||
|
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.metaAndLinkMarkup } />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<slot />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue