summaryrefslogtreecommitdiffstats
path: root/blog/_includes/post-header.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog/_includes/post-header.html')
-rw-r--r--blog/_includes/post-header.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/blog/_includes/post-header.html b/blog/_includes/post-header.html
new file mode 100644
index 0000000..e1baeb8
--- /dev/null
+++ b/blog/_includes/post-header.html
@@ -0,0 +1,7 @@
+{% assign post = include.post %}
+<header class="post-header">
+ <date>{{ post.date | date_to_string }}</date>
+ <h1>
+ <a href="{{ post.url }}">{{ post.title }}</a>
+ </h1>
+</header>