@fy-/fws-vue 0.6.1 → 0.6.2

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.
@@ -84,6 +84,8 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
84
84
 
85
85
  if (seo.value.isAdult) {
86
86
  metas.push(
87
+ { name: "rating", content: "adult" },
88
+ { name: "RATING", content: "RTA-5042-1996-1400-1577-RTA" },
87
89
  { property: "rating", content: "adult" },
88
90
  { property: "RATING", content: "RTA-5042-1996-1400-1577-RTA" },
89
91
  );
@@ -104,8 +106,9 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
104
106
 
105
107
  metaPairs.forEach(([seoKey, ...properties]) => {
106
108
  properties.forEach((property) => {
107
- if (seo.value[seoKey as keyof LazyHead]) {
108
- console.log("property", property);
109
+ if (seo.value[property as keyof LazyHead]) {
110
+ console.log("property:", property);
111
+ console.log("seokKey:", seoKey);
109
112
  if (
110
113
  property === "description" ||
111
114
  property === "keywords" ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {