Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/modified_date.html')
-rw-r--r--layouts/partials/modified_date.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/modified_date.html b/layouts/partials/modified_date.html
new file mode 100644
index 0000000..76802a9
--- /dev/null
+++ b/layouts/partials/modified_date.html
@@ -0,0 +1,4 @@
+Updated on
+<time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
+ {{ .Lastmod.Format "Jan 2, 2006" }}
+</time>