Website component for page |
Name | Type | Options | Default |
---|---|---|---|
page | Page | ✅ | |
download | boolean | ☑️ | true |
styles | string | ☑️⚙️ | { heading: '', breadcrumbs: null, content: 'prose prose-slate prose-img:rounded-md prose-img:my-2 prose-h3:text-white prose-h3:text-lg prose-h3:px-2 max-w-none prose-p:mt-0 prose-p:mb-4 prose-a:no-underline prose-a:text-amber-600 hover:prose-a:text-amber-500 prose-h3:bg-amber-60', } |
appendStyles | string | ☑️⚙️ |
<website-page [page]="new Page('Home', 'home')"></website-page>
index.html
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
</script>
enviroments.defaults.ts
seo: {
title: 'Website Title',
brand: 'Website Brand',
description: 'This is webiste description',
analytics: 'G-WEB-SITE',
},
app.component
constructor(private seoService: SeoService) {
this.seoService.init(environment);
}