Skip to content

Commit

Permalink
Add page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
yaodong committed Aug 14, 2024
1 parent 7d36349 commit fd1bc43
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
19 changes: 19 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: default
---

<div class="-mx-5 sm:mx-auto p-5 bg-white sm:rounded sm:shadow">

<div class="max-w-3xl mx-auto">

<div class="flex flex-col my-5 sm:my-10 space-y-2">
<h1 class="text-3xl font-bold text-gray-800">{{ page.title }}</h1>
</div>

<div class="prose max-w-3xl mx-auto">
{{content}}
</div>

<div class="mt-20"></div>
</div>
</div>
8 changes: 0 additions & 8 deletions about.html

This file was deleted.

6 changes: 6 additions & 0 deletions about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: page
title: About
---

This page is a work in progress.

0 comments on commit fd1bc43

Please sign in to comment.