mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix repeating link tags
This commit is contained in:
parent
044740bcd4
commit
74849772b4
1 changed files with 3 additions and 3 deletions
|
|
@ -68,9 +68,6 @@ const defaultMeta = Object.fromEntries(config.head.meta.map( mapMetaTag ))
|
||||||
|
|
||||||
const defaultLinkTags = Object.fromEntries(config.head.link.map( mapLinkTag ))
|
const defaultLinkTags = Object.fromEntries(config.head.link.map( mapLinkTag ))
|
||||||
|
|
||||||
// Generate manipulatable dom for page render
|
|
||||||
const layout = parseDefaultLayoutDom()
|
|
||||||
|
|
||||||
class DefaultLayout {
|
class DefaultLayout {
|
||||||
|
|
||||||
generateMetaTags = function ( renderData ) {
|
generateMetaTags = function ( renderData ) {
|
||||||
|
|
@ -134,6 +131,9 @@ class DefaultLayout {
|
||||||
description = null
|
description = null
|
||||||
} = data
|
} = data
|
||||||
|
|
||||||
|
// Generate manipulatable dom for page render
|
||||||
|
const layout = parseDefaultLayoutDom()
|
||||||
|
|
||||||
// Get our jsdom document instance
|
// Get our jsdom document instance
|
||||||
const document = layout.window.document
|
const document = layout.window.document
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue