mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use pageUrlString for meta twitter:url
This commit is contained in:
parent
020dbae614
commit
5dbbca4610
1 changed files with 6 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ import fs from 'fs-extra'
|
|||
|
||||
import nuxtConfig from '~/nuxt.config.js'
|
||||
|
||||
|
||||
export const nuxtHead = nuxtConfig.head
|
||||
|
||||
export async function getNetlifyConfig () {
|
||||
|
|
@ -143,6 +142,12 @@ export class PageHead {
|
|||
// console.log('this.defaultMeta', this.defaultMeta)
|
||||
return [
|
||||
...this.defaultMeta,
|
||||
|
||||
{
|
||||
'property': 'twitter:url',
|
||||
'content': this.pageUrlString
|
||||
},
|
||||
|
||||
...this.meta
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue