diff --git a/src/lib/components/CollectionList.svelte b/src/lib/components/CollectionList.svelte
index d4170380..f0884695 100644
--- a/src/lib/components/CollectionList.svelte
+++ b/src/lib/components/CollectionList.svelte
@@ -45,6 +45,9 @@
{#if col === "union"}
diff --git a/src/routes/[entry]/[type]/+page.svelte b/src/routes/[entry]/[type]/+page.svelte
index 5cdac422..54f971ef 100644
--- a/src/routes/[entry]/[type]/+page.svelte
+++ b/src/routes/[entry]/[type]/+page.svelte
@@ -49,7 +49,7 @@
-
+
#PBW23.{$page.params.type}
diff --git a/src/routes/[entry]/[type]/[slug]/+page.svelte b/src/routes/[entry]/[type]/[slug]/+page.svelte
index 3770fb04..55d4fec7 100644
--- a/src/routes/[entry]/[type]/[slug]/+page.svelte
+++ b/src/routes/[entry]/[type]/[slug]/+page.svelte
@@ -6,14 +6,9 @@
import Footer from '$lib/components/Footer.svelte';
import SvelteMarkdown from 'svelte-markdown';
import { formatItemDate, bareDomain, getFlagEmoji } from '$lib/utils.js';
+ import { config } from '$lib/pbw';
- const colsDef = {
- union: "unions",
- event: "events",
- speaker: "speakers",
- "media-partner": "media-partners",
- benefit: "benefits",
- }
+ const colsDef = Object.fromEntries(Object.keys(config.collections).map(col => { return [ config.collections[col].model, col ]}))
const speakerLinks = {
twitter: { col: x => x.twitter ? 'https://twitter.com/'+x.twitter : null },
@@ -36,7 +31,7 @@
-
+
#PBW23.{$page.params.type}s
@@ -45,9 +40,9 @@
{/if}
- {#if item.photoUrl}
+ {#if item.photoUrl || item.photo}
-
+
{/if}
@@ -123,6 +118,36 @@
{/if}
{/if}
+ {#if col === 'place'}
+
+ {#if item.address}
+
+
Address
+
+ {item.address}
+
+
+ {/if}
+ {#if item.capacity}
+
+
Capacity
+
+ {item.capacity} ppl
+
+
+ {/if}
+ {#if item.eventTypes && item.eventTypes.length > 0}
+
+
Event Types
+
+ {#each item.eventTypes as type}
+
{type}
+ {/each}
+
+
+ {/if}
+
+ {/if}
{#if item.links}
{#each Object.keys(item.links) as lk}