Skip to content

Commit

Permalink
Fixes date
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhariri committed Feb 18, 2025
1 parent af5d721 commit 127a3cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/post.jinja
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.jinja" %}
{% block title %}{{ post.title }} - David Hariri{% endblock %}
{% block body %}
<time>{{ post.date_published }}</time>
<time>{{ post.date_published.strftime("%B %d %Y") }}</time>
<h1>{{ post.title }}</h1>
{% if post.tags %}
<ul class="post-tags">
Expand Down
2 changes: 1 addition & 1 deletion templates/post_preview.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="post_preview">
<time>{{ post.pretty_date }}</time><br>
<time>{{ post.date_published.strftime("%B %d %Y") }}</time><br>
<a href="/{{post.url_slug}}.html"><h2>{{ post.title }}</h2></a>
<p>{{ post.description or "" }}</p>
{% if post.tags %}
Expand Down

0 comments on commit 127a3cc

Please sign in to comment.