Skip to content

Commit

Permalink
Update post.html
Browse files Browse the repository at this point in the history
  • Loading branch information
melonmasteristaken authored May 8, 2024
1 parent 4b82e11 commit 2f04841
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1 +1,40 @@

---
layout: default
---

<div class="post">
<div class="post-info">
<span>Written by</span>
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author.name }}
{% endif %}

{% if page.date %}
<br>
<span>on&nbsp;</span><time datetime="{{ page.date }}">{{ page.date | date: "%B %d, %Y" }}</time>
{% endif %}
</div>

<h1 class="post-title">{{ page.title }}</h1>
<div class="post-line"></div>

{{ content }}
</div>

{% if page.comments %}
{% include disqus_comments.html %}
{% endif %}

<div class="pagination">
{% if page.next.url %}
<a href="{{ page.next.url | prepend: site.baseurl }}" class="left arrow">&#8592;</a>
{% endif %}
{% if page.previous.url %}
<a href="{{ page.previous.url | prepend: site.baseurl }}" class="right arrow">&#8594;</a>
{% endif %}

<a href="#" class="top">Top</a>
</div>

0 comments on commit 2f04841

Please sign in to comment.