From dd498a2edc56819cf51a4a7f57c51f476132a500 Mon Sep 17 00:00:00 2001 From: Garry Ing Date: Sun, 11 Apr 2021 13:04:24 -0400 Subject: [PATCH] date injestor --- _plugins/empty_front_matter_note_injector.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_plugins/empty_front_matter_note_injector.rb b/_plugins/empty_front_matter_note_injector.rb index cc959f4..569679b 100644 --- a/_plugins/empty_front_matter_note_injector.rb +++ b/_plugins/empty_front_matter_note_injector.rb @@ -1,7 +1,10 @@ # frozen_string_literal: true +front_matter_date = DateTime.now.strftime('%Y-%m-%d') + EMPTY_FRONT_MATTER = <<~JEKYLL --- + date: #{front_matter_date} --- JEKYLL