Add more data in pages

This commit is contained in:
Zeph Levy 2026-04-21 09:18:09 +02:00
parent 1aae2311d3
commit e26d4879e8
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<h1>Welcome to the City Portal</h1> <h1>Welcome to the City Portal!</h1>
<ul> <ul>
<li><a href="datasets/">List of datasets</a></li> <li><a href="datasets/">List of datasets</a></li>

View file

@ -7,6 +7,8 @@
const recordData = JSON.parse(data.record.data); const recordData = JSON.parse(data.record.data);
</script> </script>
<h1>Data for record id: {data.record.id}</h1>
<ul> <ul>
{#each Object.entries(recordData) as [key, value]} {#each Object.entries(recordData) as [key, value]}
<li>{key}: {value}</li> <li>{key}: {value}</li>