From 76e6a6c905d2a95b384b224198d26bacb0a1bf5e Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Thu, 6 Sep 2018 12:19:29 -0400 Subject: make date_format a site-wide variable --- _layouts/home.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '_layouts/home.html') diff --git a/_layouts/home.html b/_layouts/home.html index a4802ec..856f298 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -11,7 +11,10 @@ layout: default {{ post.title | escape }} - {{ post.date | date: "%b %-d, %Y" }} + {{ post.date | date: site.date_format }} + {%- if post.updated %} + (Updated {{ post.updated | date: site.date_format }}) + {% endif -%}

{{ post.description }}

{%- endfor -%} -- cgit v1.2.3