diff --git a/package.json b/package.json
index e166388..7a2409e 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "astroplate",
- "version": "3.4.3",
+ "version": "3.4.4",
"description": "Astro and Tailwindcss boilerplate",
"author": "zeon.studio",
"license": "MIT",
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
index 9e8d502..5c189eb 100755
--- a/src/layouts/Base.astro
+++ b/src/layouts/Base.astro
@@ -18,12 +18,12 @@ let fontPrimary, fontSecondary;
if (theme.fonts.font_family.primary) {
fontPrimary = theme.fonts.font_family.primary
.replace(/\+/g, " ")
- .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;]+/gi, "");
+ .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;.]+/gi, "");
}
if (theme.fonts.font_family.secondary) {
fontSecondary = theme.fonts.font_family.secondary
.replace(/\+/g, " ")
- .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;]+/gi, "");
+ .replace(/:[ital,]*[ital@]*[wght@]*[0-9,;.]+/gi, "");
}
// types for frontmatters
@@ -36,7 +36,7 @@ export interface Props {
canonical?: string;
}
-// distructure frontmatters
+// destructure frontmatter
const { title, meta_title, description, image, noindex, canonical } =
Astro.props;
---
@@ -107,7 +107,7 @@ const { title, meta_title, description, image, noindex, canonical } =
@@ -120,7 +120,7 @@ const { title, meta_title, description, image, noindex, canonical } =
@@ -128,7 +128,7 @@ const { title, meta_title, description, image, noindex, canonical } =
@@ -141,7 +141,7 @@ const { title, meta_title, description, image, noindex, canonical } =
@@ -149,7 +149,7 @@ const { title, meta_title, description, image, noindex, canonical } =