diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0a0a5c68..d5d225ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,10 @@ Version 1.3.0 - in Progress
- Update: Use the grouped repeater widget for sidebar widgets.
- Update: Sidebar to Widget environment for Homepage, Page and Post.
+Version 1.2.2 - Stable
+----------------------
+- Bugfix: Fix errors on production context (Page object).
+
Version 1.2.1 - Stable
----------------------
- Update: Meta Tags.
diff --git a/DOCS.md b/DOCS.md
index 48c0f0ad..0fe0fce7 100644
--- a/DOCS.md
+++ b/DOCS.md
@@ -1,4 +1,4 @@
-# NewsHub v1.2.1 - Documentation
+# NewsHub v1.2.2 - Documentation
Welcome on the NewsHub documentation page.
## Need Support?
diff --git a/composer.json b/composer.json
index dd5601e4..8489070c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,11 +1,11 @@
{
"name": "ratmd/newshub-theme",
"type": "october-theme",
- "version": "1.2.1",
+ "version": "1.2.2",
"description": "A minimalistic and responsive blog and magazine template with page builder and dark mode, designed with Bootstrap 5.2.",
"keywords": [
- "october",
- "octobercms",
+ "october",
+ "octobercms",
"theme",
"template",
"responsive",
diff --git a/package-lock.json b/package-lock.json
index ca894ffb..39369a3c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@rat.md/newshub-theme",
- "version": "1.2.1",
+ "version": "1.2.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@rat.md/newshub-theme",
- "version": "1.2.1",
+ "version": "1.2.2",
"license": "proprietary",
"dependencies": {
"bootstrap": "^5.2.0",
@@ -37,9 +37,9 @@
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz",
- "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==",
+ "version": "7.19.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz",
+ "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -786,9 +786,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.249",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.249.tgz",
- "integrity": "sha512-GMCxR3p2HQvIw47A599crTKYZprqihoBL4lDSAUmr7IYekXFK5t/WgEBrGJDCa2HWIZFQEkGuMqPCi05ceYqPQ==",
+ "version": "1.4.250",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.250.tgz",
+ "integrity": "sha512-KDLKcPEKPK+Q3/LdKX6knDzqyh8B82EaHccTYuGJR2qp1ymyGAo5HMH2x2OwDgzOPHlINSLIIeVhlFdq6aJgNA==",
"dev": true,
"peer": true
},
@@ -2006,9 +2006,9 @@
}
},
"@babel/helper-validator-identifier": {
- "version": "7.18.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz",
- "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==",
+ "version": "7.19.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz",
+ "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==",
"dev": true
},
"@babel/highlight": {
@@ -2611,9 +2611,9 @@
}
},
"electron-to-chromium": {
- "version": "1.4.249",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.249.tgz",
- "integrity": "sha512-GMCxR3p2HQvIw47A599crTKYZprqihoBL4lDSAUmr7IYekXFK5t/WgEBrGJDCa2HWIZFQEkGuMqPCi05ceYqPQ==",
+ "version": "1.4.250",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.250.tgz",
+ "integrity": "sha512-KDLKcPEKPK+Q3/LdKX6knDzqyh8B82EaHccTYuGJR2qp1ymyGAo5HMH2x2OwDgzOPHlINSLIIeVhlFdq6aJgNA==",
"dev": true,
"peer": true
},
diff --git a/package.json b/package.json
index 86bd86c1..0b59e0af 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@rat.md/newshub-theme",
- "version": "1.2.1",
+ "version": "1.2.2",
"description": "A minimalistic and responsive blog and magazine template with page builder and dark mode, designed with Bootstrap 5.2.",
"keywords": [
"template",
diff --git a/partials/page/meta.htm b/partials/page/meta.htm
index 491c48ee..0b38e990 100644
--- a/partials/page/meta.htm
+++ b/partials/page/meta.htm
@@ -17,15 +17,15 @@
{# SEO Meta Tags #}
{% if this.page.meta_description %}{% endif %}
-{% if this.page.meta_keywords or leaf.meta_keywords %}{% endif %}
-{% if this.page.meta_author or leaf.meta_author %}{% endif %}
-{% if this.page.meta_robots %}{% endif %}
+{% if this.page['meta_keywords'] or newshub.meta_keywords %}{% endif %}
+{% if this.page['meta_author'] or newshub.meta_author %}{% endif %}
+{% if this.page['meta_robots'] %}{% endif %}
{% component 'alternateHrefLangElements' %}
{% placeholder meta_tags %}
{# Stylesheets #}
{% if this.theme.embed_extras %}{% endif %}
-
+