Consume PocketBase for posts and events, with English routes
This commit is contained in:
1 parent
c59e7a4f83
commit
da87716d97
22 files changed
+278
-225
No files matched your search
@@ -1,5 +1,4 @@
|
||||
@page "/beitraege/{Slug}"
|
||||
@inject PostService PostService
|
||||
@page "/posts/{Slug}"
|
||||
|
||||
@if (_post is null)
|
||||
{
|
||||
@@ -10,11 +9,11 @@ else
|
||||
<PageTitle>@_post.Title</PageTitle>
|
||||
<article>
|
||||
<p class="post-meta">
|
||||
<a href="/beitraege">← Alle Beiträge</a>
|
||||
<a href="/posts">← Alle Beiträge</a>
|
||||
<time datetime="@_post.Date.ToString("yyyy-MM-dd")">
|
||||
@_post.Date.ToString("d. MMMM yyyy", German)
|
||||
</time>
|
||||
</p>
|
||||
@((MarkupString)_post.ContentHtml)
|
||||
@Body
|
||||
</article>
|
||||
}
|
||||
Reference in new issue
Block a user