sass-template-common 0.9.172 → 0.9.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -910,8 +910,7 @@ const Xd = ws, Ar = async (e, t) => {
910
910
  "twitter.card": { attr: "name", value: "twitter:card" },
911
911
  "twitter.title": { attr: "name", value: "twitter:title" },
912
912
  "twitter.description": { attr: "name", value: "twitter:description" },
913
- "twitter.site": { attr: "name", value: "twitter:site" },
914
- "twitter.creator": { attr: "name", value: "twitter:creator" }
913
+ "twitter.site": { attr: "name", value: "twitter:site" }
915
914
  }, Er = (e) => {
916
915
  const t = [];
917
916
  let s = 0;
@@ -1587,15 +1586,18 @@ const Mr = {
1587
1586
  Common: qr,
1588
1587
  Nota: Dr,
1589
1588
  NotaLista: _r
1590
- }, Gr = ({ active: e, type: t, customSpeculation: s }) => e && /* @__PURE__ */ a(
1591
- "script",
1592
- {
1593
- type: "speculationrules",
1594
- dangerouslySetInnerHTML: {
1595
- __html: JSON.stringify(s ?? jr[t])
1589
+ }, Gr = ({ active: e, type: t, customSpeculation: s }) => {
1590
+ const n = s || jr[t];
1591
+ return e && /* @__PURE__ */ a(
1592
+ "script",
1593
+ {
1594
+ type: "speculationrules",
1595
+ dangerouslySetInnerHTML: {
1596
+ __html: JSON.stringify(n)
1597
+ }
1596
1598
  }
1597
- }
1598
- ), Us = async (e, t, s) => {
1599
+ );
1600
+ }, Us = async (e, t, s) => {
1599
1601
  if (s)
1600
1602
  return s.get(`/schemas${t}`, { params: e }).catch((n) => {
1601
1603
  console.log(`[/schemas${t}] Error: ${n.message}`);
@@ -1703,7 +1705,7 @@ const zr = async ({
1703
1705
  name: t.name,
1704
1706
  logow: t.socialBlockLogo?.width,
1705
1707
  logoh: t.socialBlockLogo?.height,
1706
- authorurl: s + "/autor/",
1708
+ authorurl: s + (t.paths.autor ? `/${t.paths.autor}/` : "/autor/"),
1707
1709
  lang: t.lang
1708
1710
  }, u = e.split("/")[1], m = r && r.length > 0 ? r : u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], h = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, g = i ? i + h : h;
1709
1711
  o = (await Promise.all(
@@ -5871,7 +5873,7 @@ const yn = ({
5871
5873
  keywords: n,
5872
5874
  info: r,
5873
5875
  paths: i,
5874
- newsDescriptionSectionTag: o = "h3",
5876
+ newsDescriptionSectionTag: o = "span",
5875
5877
  speculationPrerenderClass: l
5876
5878
  } = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = M(), u = () => {
5877
5879
  if (e?.config?.showtime && e.config?.showauthor)
@@ -13708,7 +13710,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
13708
13710
  /* @__PURE__ */ a(() => {
13709
13711
  if (n && r?.tags?.length && r.tags.length > 0) {
13710
13712
  const u = r.tags[0], m = u.name;
13711
- return /* @__PURE__ */ p("h3", { className: "sass-com-nd-sectionDescriptionContainer", children: [
13713
+ return /* @__PURE__ */ p("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
13712
13714
  u.approved ? /* @__PURE__ */ a(
13713
13715
  O,
13714
13716
  {
@@ -13723,7 +13725,7 @@ const hm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
13723
13725
  ] });
13724
13726
  } else if (i?.section?.url) {
13725
13727
  const u = i.section.name;
13726
- return /* @__PURE__ */ p("h3", { className: "sass-com-nd-sectionDescriptionContainer", children: [
13728
+ return /* @__PURE__ */ p("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
13727
13729
  /* @__PURE__ */ a(
13728
13730
  O,
13729
13731
  {