summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2020-02-09 21:44:38 -0600
committerDanny Holman <dholman@gymli.org>2020-02-09 21:44:38 -0600
commit939a2a4bb39035c92aeee0af52ff3c456a202d2f (patch)
treeb0264e7fbb1737f28a0d5ebc63d706c007856d51
parent9e869112c22ed4760a84a4464e92797db8447585 (diff)
Fix missing date format in post header
-rw-r--r--_config.yml1
-rw-r--r--_includes/post_header.html1
2 files changed, 1 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index f130a12..37a16ee 100644
--- a/_config.yml
+++ b/_config.yml
@@ -14,7 +14,6 @@ plugins:
texture:
style: black
showNav: true
- date_format: "%b %-d, %Y"
# Exclude from processing.
# The following items will not be processed, by default.
diff --git a/_includes/post_header.html b/_includes/post_header.html
index c7e185f..e7bdae5 100644
--- a/_includes/post_header.html
+++ b/_includes/post_header.html
@@ -1,3 +1,4 @@
+{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<div class="container">
<h1>{{ page.title }}</h1>
<h4 class="post-description">{{ page.description }}</h4>