Skip to content

Commit

Permalink
Extract post layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmendes committed Dec 16, 2023
1 parent c64334e commit 73d58da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
8 changes: 2 additions & 6 deletions _layouts/paradoxo.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
---
layout: default
standalone: true
description: "Um texto de Paradoxo."
icon: moon.ico
baseendpoint: /paradoxo
layout: post
---

<div class="flex pb-2 gap-4">
<a href="{{site.baseurl}}/paradoxo" class="text-4xl"></a>
<h2 class="mt-1">{{ page.title }}</h2>
</div>

{{ content }}
10 changes: 10 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
---

<div class="flex pb-2 gap-4">
<a href="{{site.baseurl}}{{layout.baseendpoint}}" class="text-4xl"></a>
<h2 class="mt-1">{{ page.title }}</h2>
</div>

{{ content }}

0 comments on commit 73d58da

Please sign in to comment.