Take the page heading from the Markdown body, not a separate <h1>
This commit is contained in:
1 parent
e242eaf79a
commit
01d25eb04b
3 files changed
+6
-18
No files matched your search
@@ -12,12 +12,9 @@ else if (_post is not null)
|
||||
<a href="/posts">← Alle Beiträge</a>
|
||||
</nav>
|
||||
<article>
|
||||
<header>
|
||||
<h1>@_post.Title</h1>
|
||||
<time class="post-meta" datetime="@_post.Date.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture)">
|
||||
@_post.Date.ToString("d. MMMM yyyy", Cultures.German)
|
||||
</time>
|
||||
</header>
|
||||
<time class="post-meta" datetime="@_post.Date.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture)">
|
||||
@_post.Date.ToString("d. MMMM yyyy", Cultures.German)
|
||||
</time>
|
||||
@Body
|
||||
</article>
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user