This commit is contained in:
sharadcodes
2019-11-25 16:34:46 +05:30
parent a1bf76d295
commit d15757eb60
18 changed files with 1 additions and 3 deletions

36
_layouts/post.html Normal file
View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
<style>
.title {
padding: 10%;
color: #101417;
font-size: 18px;
font-weight: bold;
text-align: center;
background: #f78e66;
display: grid;
}
.meta {
font-size: .7rem;
font-weight: normal;
text-transform: uppercase;
}
</style>
<!-- header -->
{% include header.html %}
<!-- nav -->
{% include nav.html %}
<!-- page content -->
<main class="content">
<p class="title">
{{page.title}} <span class="meta">Written By {{page.author}}</span>
</p>
{{page.content}}
</main>
<!-- footer -->
{% include footer.html %}
</body>
</html>