Serve FAQs from PocketBase on a grouped /faqs page
This commit is contained in:
1 parent
4136af6417
commit
6b5d9dda55
7 files changed
+127
-7
No files matched your search
@@ -260,10 +260,12 @@ public sealed class PocketBaseFixture : IAsyncLifetime
|
||||
title = "Förderverein", body = "# Förderverein", location = "header",
|
||||
order = 3, slug = "patrons", embed = Array.Empty<string>(), @public = true,
|
||||
});
|
||||
// Nav placeholder for the FAQ list (route /faqs is served by FaqList,
|
||||
// which shadows this page). Slug matches production's "faqs" nav entry.
|
||||
await CreateRecordAsync(http, "pages", new
|
||||
{
|
||||
title = "FAQ", body = "# Häufige Fragen", location = "header",
|
||||
order = 4, slug = "faq", embed = Array.Empty<string>(), @public = true,
|
||||
order = 4, slug = "faqs", embed = Array.Empty<string>(), @public = true,
|
||||
});
|
||||
await CreateRecordAsync(http, "pages", new
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user