From 4831f9f67f1d6a7f2c30c9efd63a0cba39bca91b Mon Sep 17 00:00:00 2001 From: saicaca Date: Sun, 12 Nov 2023 19:37:56 +0800 Subject: [PATCH] fix: some style fixes for the license block --- src/components/misc/License.astro | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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