aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/PostLayout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/PostLayout.astro')
-rw-r--r--src/layouts/PostLayout.astro17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro
index ed2c900..37bbe37 100644
--- a/src/layouts/PostLayout.astro
+++ b/src/layouts/PostLayout.astro
@@ -2,6 +2,23 @@
import BaseLayout from "../layouts/BaseLayout.astro";
---
+<style>
+ .header {
+ text-align: center;
+ }
+</style>
+
<BaseLayout>
+ <div class="header">
+ <h1>Title</h1>
+ <p>
+ <small>
+ Posted
+ <time datetime="#">#</time>
+ &nbsp;by&nbsp;Valentin Popov&nbsp;‐
+ <strong>1 min read</strong>
+ </small>
+ </p>
+ </div>
<slot />
</BaseLayout>