aboutsummaryrefslogtreecommitdiff
path: root/lume/src/_includes
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-09-30 11:59:17 -0400
committerXe Iaso <me@xeiaso.net>2023-09-30 11:59:17 -0400
commita8fe14cbba8ff540bd2967b018fef7f43d2431d8 (patch)
treedaeaf5c386dbec851130f6d0088f4b249e9b6a7c /lume/src/_includes
parentac6a3df0d18cc73524c0096d954a57d24cad5669 (diff)
downloadxesite-a8fe14cbba8ff540bd2967b018fef7f43d2431d8.tar.xz
xesite-a8fe14cbba8ff540bd2967b018fef7f43d2431d8.zip
lume/src: style fixes
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_includes')
-rw-r--r--lume/src/_includes/blog.njk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lume/src/_includes/blog.njk b/lume/src/_includes/blog.njk
index 77b4aea..c0a1cb3 100644
--- a/lume/src/_includes/blog.njk
+++ b/lume/src/_includes/blog.njk
@@ -2,10 +2,10 @@
layout: base.njk
---
-<article class="prose dark:prose-invert max-w-2xl">
+<article class="prose dark:prose-invert max-w-none">
<h1>{{title}}</h1>
<p class="text-sm text-fg-3 dark:text-fgDark-3">
- {{date.toDateString()}}
+ Published on {{date.toLocaleDateString("en-US", { year: "numeric", month: "2-digit", day: "2-digit" })}}
</p>
{% if hero %}
@@ -39,7 +39,7 @@ layout: base.njk
console.log("got here");
const shareData = {
title: document.title,
- url: window.location.href,
+ url: window.location.href
};
if (!navigator.canShare(shareData)) {
console.log("can't share");