mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Enable head options on default layout
This commit is contained in:
parent
972aca20bd
commit
a53ac9ac42
1 changed files with 14 additions and 31 deletions
|
|
@ -1,48 +1,31 @@
|
||||||
---
|
---
|
||||||
import '~/assets/css/tailwind.css'
|
import '~/assets/css/tailwind.css'
|
||||||
|
|
||||||
|
import { PageHead } from '~/helpers/config.js'
|
||||||
|
|
||||||
import VueBaseLayout from '../../layouts/base.vue'
|
import VueBaseLayout from '../../layouts/base.vue'
|
||||||
|
|
||||||
const {
|
const {
|
||||||
headTitle,
|
headTitle,
|
||||||
headDescription
|
headDescription,
|
||||||
|
headOptions = {}
|
||||||
} = Astro.props
|
} = Astro.props
|
||||||
|
|
||||||
|
// console.log('Astro.site', Astro.site )
|
||||||
|
|
||||||
|
const pageHead = new PageHead({
|
||||||
|
domain: Astro.site.origin,
|
||||||
|
|
||||||
|
...headOptions
|
||||||
|
})
|
||||||
|
|
||||||
|
console.log( 'pageHead', pageHead.meta )
|
||||||
---
|
---
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>{ headTitle }</title>
|
<title>{ headTitle }</title>
|
||||||
<meta charset="utf-8">
|
{ pageHead.metaAndLinkMarkup }
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
||||||
|
|
||||||
<meta property="og:image" content="https://doesitarm.com/images/og-image.png">
|
|
||||||
<meta property="og:image:width" content="1200">
|
|
||||||
<meta property="og:image:height" content="627">
|
|
||||||
<meta property="og:image:alt" content="Does It ARM Logo">
|
|
||||||
|
|
||||||
<meta property="twitter:card" content="summary">
|
|
||||||
<meta property="twitter:title" content="Does It ARM">
|
|
||||||
<meta property="twitter:description" content="Find out the latest app support for Apple Silicon and the Apple M1 Pro and M1 Max Processors">
|
|
||||||
<meta property="twitter:url" content="https://doesitarm.com">
|
|
||||||
<meta property="twitter:image" content="https://doesitarm.com/images/mark.png">
|
|
||||||
|
|
||||||
<meta data-hid="description" name="description" content={ headDescription }>
|
|
||||||
|
|
||||||
<meta data-hid="twitter:title" property="twitter:title" content="Apple Silicon and Apple M1 Pro and M1 Max app and game compatibility list">
|
|
||||||
<meta data-hid="twitter:description" property="twitter:description" content="List of compatibility apps and games for Apple Silicon and the Apple M1 Pro and M1 Max Processors including performance reports and benchmarks">
|
|
||||||
<meta property="twitter:url" content="https://doesitarm.com/">
|
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
||||||
|
|
||||||
<!-- Preconnect Assets -->
|
|
||||||
<link rel="preconnect" href="https://www.googletagmanager.com">
|
|
||||||
<link rel="preconnect" href="https://cdn.carbonads.com">
|
|
||||||
<link rel="preconnect" href="https://srv.carbonads.net">
|
|
||||||
<link rel="preconnect" href="https://cdn4.buysellads.net">
|
|
||||||
|
|
||||||
<!-- Preload Assets -->
|
|
||||||
<!-- <link rel="preload" href="/_nuxt/static/1650919862/state.js" as="script"> -->
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<VueBaseLayout
|
<VueBaseLayout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue