diff options
author | Valentin Popov <valentin@popov.link> | 2024-09-05 18:01:13 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-09-05 18:01:13 +0300 |
commit | 17c3115a0608bb7ef42c8038b36f24b2356004ec (patch) | |
tree | fb59e691830155a1b003dca9125fd871bd66176c /src/layouts/PostLayout.astro | |
parent | 7ba2de71480c1b568ed8b7d7f693f17774da1684 (diff) | |
download | popov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.tar.xz popov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.zip |
Added basic structure
Diffstat (limited to 'src/layouts/PostLayout.astro')
-rw-r--r-- | src/layouts/PostLayout.astro | 17 |
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> + by Valentin Popov ‐ + <strong>1 min read</strong> + </small> + </p> + </div> <slot /> </BaseLayout> |