fixed reference to devlog files on main page
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
import LinkList from "$lib/link-list.svelte";
|
||||
import { quotes, type Quote } from "./quotes";
|
||||
|
||||
import { posts } from "./projects/projectn5/devlog/devlog-posts";
|
||||
import { posts, type DevlogPost } from "./projects/projectn5/devlog/posts";
|
||||
|
||||
var lastIndex = -1;
|
||||
let meImg: string = $state("common/me/a.webp");
|
||||
@@ -35,7 +35,7 @@
|
||||
marqueeQuote = quotes[getRandom(quotes.length)];
|
||||
};
|
||||
|
||||
let latestDevlogDate = posts[0].date.substring(0, 7).replace("/", "-") + "-" + posts[0].date.substring(7);
|
||||
let latestDevlogDate = posts.values().next().value.date;
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -52,7 +52,7 @@
|
||||
title: "Project N5 – devlog",
|
||||
subtitle: "my active Godot game project about finding yourself in an unfamiliar future.\n<i>latest update: " + latestDevlogDate + "</i>",
|
||||
fullWidth: true,
|
||||
img: "projects/projectn5/devlog/2025/0523/birds_eye.webp",
|
||||
img: "projects/projectn5/devlog/20250523/birds_eye.webp",
|
||||
imgAlt: "Project N5 screenshot of Laura looking down at two cuboids",
|
||||
link: "projects/projectn5/devlog",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user