15 lines
527 B
Plaintext
15 lines
527 B
Plaintext
@page "/blog"
|
|
@model BlogModel
|
|
@{
|
|
ViewData["title"] = "blog";
|
|
}
|
|
|
|
<p>Hey there, welcome to the blog of a disabled neurodivergent queer person unhappy with the state of the world.</p>
|
|
<p>This is where I post about things that make it somewhat fun, things that help me with life in general or just things I felt like sharing.</p>
|
|
<h1 id="posts">Posts</h1>
|
|
<ul>
|
|
@foreach (var post in BlogModel.Posts) {
|
|
<li><strong>@post.PublishedOn.ToString("yyyy-MM-dd")</strong> <a href="/blog/@post.Shorthand">@post.Title</a></li>
|
|
}
|
|
</ul>
|