0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Updated the main page and page structures

This commit is contained in:
2024-09-12 13:11:16 +00:00
parent 70fa9c2033
commit 4ba339984d
9 changed files with 132 additions and 76 deletions

View File

@ -23,17 +23,25 @@ const { Content, remarkPluginFrontmatter } = await post.render();
</style>
<Layout title={post.data.title} description={post.data.description}>
<div class="header">
<h1>{post.data.title}</h1>
<p>
<small>
Posted
<time datetime={post.data.pubDate.toISOString()}>{post.data.pubDate.toDateString()}</time>
&nbsp;by&nbsp;{post.data.author}&nbsp;
<strong>{remarkPluginFrontmatter.minutesRead}</strong>
</small>
</p>
</div>
<Content />
<Comments />
<article>
<section class="header">
<h1>{post.data.title}</h1>
<p>
<small>
Posted
<time datetime={post.data.pubDate.toISOString()}>{post.data.pubDate.toDateString()}</time>
&nbsp;by&nbsp;{post.data.author}&nbsp;
<strong>{remarkPluginFrontmatter.minutesRead}</strong>
</small>
</p>
</section>
<section>
<Content />
</section>
<section>
<Comments />
</section>
</article>
</Layout>