zotan.pw-web/Pages/blog/Blog.cshtml

22 lines
757 B
Plaintext
Raw Normal View History

2022-11-20 03:06:41 +01:00
@page "/blog"
@model BlogModel
@{
ViewData["title"] = "blog";
2022-11-20 23:34:41 +01:00
ViewData["desc"] = "Blog of a disabled neurodivergent queer person unhappy with the state of the world.";
2022-11-20 03:06:41 +01:00
}
2022-11-26 03:34:13 +01:00
@section head {
2022-11-26 03:35:00 +01:00
<link rel="alternate" title="zotan.pw >> blog" type="application/json" href="/blog/feed.json"/>
2022-11-26 03:34:13 +01:00
}
2022-11-20 03:06:41 +01:00
<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) {
2022-11-20 17:00:51 +01:00
<li>
<strong>@post.PublishedOn.ToString("yyyy-MM-dd")</strong> <a href="/blog/@post.Shorthand">@post.Title</a>
</li>
2022-11-20 03:06:41 +01:00
}
2022-11-20 23:34:41 +01:00
</ul>