@ekino/rendr-core
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -43,3 +43,3 @@ /// <reference types="node" /> | ||
title: string; | ||
link: string; | ||
links: Settings[]; | ||
htmlAttributes: Settings; | ||
@@ -46,0 +46,0 @@ meta: Settings[]; |
@@ -188,3 +188,3 @@ var __extends = (this && this.__extends) || (function () { | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -405,3 +405,3 @@ meta: [], | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -422,4 +422,4 @@ meta: [], | ||
} | ||
if ("link" in data) { | ||
head.link = data.link; | ||
if ("links" in data) { | ||
head.links = data.links; | ||
} | ||
@@ -517,3 +517,3 @@ if ("htmlAttributes" in data) { | ||
title: p.head.title.length > 0 ? p.head.title : page.head.title, | ||
link: p.head.link.length > 0 ? p.head.link : page.head.link, | ||
links: __spreadArrays(page.head.links, p.head.links), | ||
htmlAttributes: Object.keys(p.head.htmlAttributes).length > 0 | ||
@@ -520,0 +520,0 @@ ? p.head.htmlAttributes |
@@ -46,3 +46,3 @@ var __assign = (this && this.__assign) || function () { | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -63,4 +63,4 @@ meta: [], | ||
} | ||
if ("link" in data) { | ||
head.link = data.link; | ||
if ("links" in data) { | ||
head.links = data.links; | ||
} | ||
@@ -153,3 +153,3 @@ if ("htmlAttributes" in data) { | ||
title: p.head.title.length > 0 ? p.head.title : page.head.title, | ||
link: p.head.link.length > 0 ? p.head.link : page.head.link, | ||
links: __spreadArrays(page.head.links, p.head.links), | ||
htmlAttributes: Object.keys(p.head.htmlAttributes).length > 0 | ||
@@ -156,0 +156,0 @@ ? p.head.htmlAttributes |
@@ -23,3 +23,3 @@ /// <reference types="node" /> | ||
title: string; | ||
link: string; | ||
links: Settings[]; | ||
htmlAttributes: Settings; | ||
@@ -26,0 +26,0 @@ meta: Settings[]; |
@@ -13,3 +13,3 @@ var Page = (function () { | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -16,0 +16,0 @@ meta: [], |
@@ -57,3 +57,3 @@ "use strict"; | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -74,4 +74,4 @@ meta: [], | ||
} | ||
if ("link" in data) { | ||
head.link = data.link; | ||
if ("links" in data) { | ||
head.links = data.links; | ||
} | ||
@@ -169,3 +169,3 @@ if ("htmlAttributes" in data) { | ||
title: p.head.title.length > 0 ? p.head.title : page.head.title, | ||
link: p.head.link.length > 0 ? p.head.link : page.head.link, | ||
links: __spreadArrays(page.head.links, p.head.links), | ||
htmlAttributes: Object.keys(p.head.htmlAttributes).length > 0 | ||
@@ -172,0 +172,0 @@ ? p.head.htmlAttributes |
@@ -23,3 +23,3 @@ /// <reference types="node" /> | ||
title: string; | ||
link: string; | ||
links: Settings[]; | ||
htmlAttributes: Settings; | ||
@@ -26,0 +26,0 @@ meta: Settings[]; |
@@ -15,3 +15,3 @@ "use strict"; | ||
title: "-", | ||
link: "", | ||
links: [], | ||
htmlAttributes: {}, | ||
@@ -18,0 +18,0 @@ meta: [], |
{ | ||
"name": "@ekino/rendr-core", | ||
"license": "MIT", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"main": "dist/lib/index.js", | ||
@@ -22,3 +22,3 @@ "typing": "dist/lib/index.d.ts", | ||
}, | ||
"gitHead": "ed31cb2c6fdb510cdca6b6fc8800f04d0b4702e0" | ||
"gitHead": "5da66dfd84492ef08f34dfb6014f44a1e9969609" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
126130