Unify post and event cards to one style on the home page
This commit is contained in:
1 parent
4fa17429b5
commit
43e6ed7743
6 files changed
+67
-76
No files matched your search
@@ -7,11 +7,12 @@
|
||||
@foreach (var post in _latest)
|
||||
{
|
||||
<li>
|
||||
<a href="@($"/posts/{post.Slug}")">@post.Title</a>
|
||||
<PostDate Value="post.Date" />
|
||||
<a class="card-link" href="@($"/posts/{post.Slug}")">
|
||||
<span class="post-title">@post.Title</span>
|
||||
<PostDate Value="post.Date" />
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
<p class="embed-more"><a href="/posts">Alle Beiträge <span aria-hidden="true">→</span></a></p>
|
||||
</section>
|
||||
}
|
||||
Reference in new issue
Block a user