From 8927a3c672a6e7a40519626b7df31d7dace800a9 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 10 Apr 2020 20:24:36 +0200 Subject: #162, Add docs/date partial, for date customization --- layouts/partials/docs/date.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 layouts/partials/docs/date.html (limited to 'layouts/partials/docs/date.html') diff --git a/layouts/partials/docs/date.html b/layouts/partials/docs/date.html new file mode 100644 index 0000000..73d69a3 --- /dev/null +++ b/layouts/partials/docs/date.html @@ -0,0 +1,6 @@ + +{{- $format := default "January 2, 2006" .Format -}} +{{- return (.Date.Format $format) -}} -- cgit v1.2.3