diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-01-28 14:29:56 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-01-28 14:30:54 -0500 |
| commit | 109323842b24f9a046fceb48fa13006c017cc384 (patch) | |
| tree | fad410c95abb98e9485a50fba6bdd41b710e2ff7 /lume/src/vods.jsx | |
| parent | ffa0b82a3faae9a531432f59fbf57976ba8e9116 (diff) | |
| download | xesite-109323842b24f9a046fceb48fa13006c017cc384.tar.xz xesite-109323842b24f9a046fceb48fa13006c017cc384.zip | |
lume: update to Lume 2
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/vods.jsx')
| -rw-r--r-- | lume/src/vods.jsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lume/src/vods.jsx b/lume/src/vods.jsx index 2ac125e..9debd6c 100644 --- a/lume/src/vods.jsx +++ b/lume/src/vods.jsx @@ -28,9 +28,9 @@ export default ({ search }, { date }) => { <ul class="list-disc ml-4 mb-4"> {search.pages("layout=vod.njk", "order date=desc").map((post) => ( <li> - <time datetime={date(post.data.date)}>{date(post.data.date, "DATE_US")}</time> -{" "} - <a href={post.data.url}> - {post.data.title} + <time datetime={date(post.date)}>{date(post.date, "DATE_US")}</time> -{" "} + <a href={post.url}> + {post.title} </a> </li> ))} |
