diff --git a/src/components/misc/License.astro b/src/components/misc/License.astro index 16e9624..2a17703 100644 --- a/src/components/misc/License.astro +++ b/src/components/misc/License.astro @@ -18,7 +18,7 @@ import I18nKey from "../../i18n/i18nKey"; const profileConf = profileConfig; const licenseConf = licenseConfig; -const postUrl = Astro.url; +const postUrl = decodeURIComponent(Astro.url.toString()); ---
@@ -31,16 +31,16 @@ const postUrl = Astro.url;
{i18n(I18nKey.author)}
-
{profileConf.name}
+
{profileConf.name}
{i18n(I18nKey.publishedAt)}
-
{formatDateToYYYYMMDD(pubDate)}
+
{formatDateToYYYYMMDD(pubDate)}
{i18n(I18nKey.license)}
- {licenseConf.name} + {licenseConf.name}
- +
\ No newline at end of file