Write proper FAQ page intro; drop dead faqs-embed from tests
This commit is contained in:
1 parent
e38ebf078d
commit
cb345975cb
5 files changed
+47
-22
No files matched your search
@@ -1,8 +1,19 @@
|
||||
@page "/faqs"
|
||||
|
||||
<PageTitle>Häufige Fragen</PageTitle>
|
||||
@{
|
||||
// Heading and intro come from the "faqs" page record; fall back to a sensible
|
||||
// default only if that record is missing, so the page still renders.
|
||||
var title = _page?.Title ?? "FAQs";
|
||||
}
|
||||
|
||||
<h1>Häufige Fragen</h1>
|
||||
<PageTitle>@title</PageTitle>
|
||||
|
||||
<h1>@title</h1>
|
||||
|
||||
@if (_page is not null && !string.IsNullOrWhiteSpace(_page.Body))
|
||||
{
|
||||
<article>@Body</article>
|
||||
}
|
||||
|
||||
@if (_unavailable)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user