diff options
author | Bing-Sheng Chen <gundamew@gmail.com> | 2018-07-09 11:58:17 +0300 |
---|---|---|
committer | Bing-Sheng Chen <gundamew@gmail.com> | 2018-07-09 11:58:17 +0300 |
commit | 0ba054198975348ba9b165abdbd12babfe211e1e (patch) | |
tree | b3d89d6d8ab5e1d8f9bc8cbad77b5229612dd1c8 | |
parent | a600f8a8c93f763b93af891cb7f3ce3ca8cd5b93 (diff) |
Add time element template
-rw-r--r-- | layouts/_default/time-element.html | 1 |
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> |