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:
@ -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>
|
||||
by {post.data.author} ‐
|
||||
<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>
|
||||
by {post.data.author} ‐
|
||||
<strong>{remarkPluginFrontmatter.minutesRead}</strong>
|
||||
</small>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<Content />
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<Comments />
|
||||
</section>
|
||||
</article>
|
||||
</Layout>
|
||||
|
Reference in New Issue
Block a user