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

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBing-Sheng Chen <gundamew@gmail.com>2018-07-09 11:58:17 +0300
committerBing-Sheng Chen <gundamew@gmail.com>2018-07-09 11:58:17 +0300
commit0ba054198975348ba9b165abdbd12babfe211e1e (patch)
treeb3d89d6d8ab5e1d8f9bc8cbad77b5229612dd1c8
parenta600f8a8c93f763b93af891cb7f3ce3ca8cd5b93 (diff)
Add time element template
-rw-r--r--layouts/_default/time-element.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/time-element.html b/layouts/_default/time-element.html
new file mode 100644
index 0000000..29f092c
--- /dev/null
+++ b/layouts/_default/time-element.html
@@ -0,0 +1 @@
+<time datetime="{{ .Date.Format "2006-01-02T15:04:05-0700" }}">{{ .Date.Format "2006-01-02" }}</time>