Эх сурвалжийг харах

exampleSite: Provide full date-time in content front matter

Work-around Hugo bug.

See https://github.com/sourcethemes/academic-kickstart/pull/1
George Cushen 7 жил өмнө
parent
commit
c586b640f9

+ 1 - 1
exampleSite/content/home/about.md

@@ -2,7 +2,7 @@
 # About/Biography widget.
 widget = "about"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 # Order that this section will appear in.
 weight = 5

+ 1 - 1
exampleSite/content/home/contact.md

@@ -2,7 +2,7 @@
 # Contact widget.
 widget = "contact"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 title = "Contact"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/hero.md

@@ -2,7 +2,7 @@
 # Hero widget.
 widget = "hero"
 active = true
-date = 2017-10-15
+date = 2017-10-15T00:00:00
 
 title = "Academic"
 

+ 1 - 1
exampleSite/content/home/posts.md

@@ -3,7 +3,7 @@
 # This widget displays recent posts from `content/post/`.
 widget = "posts"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 title = "Recent Posts"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/projects.md

@@ -2,7 +2,7 @@
 # Projects widget.
 widget = "projects"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 title = "Projects"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/publications.md

@@ -3,7 +3,7 @@
 # This widget displays recent publications from `content/publication/`.
 widget = "publications"
 active = true
-date = 2016-04-20
+date = 2016-04-20T00:00:00
 
 title = "Recent Publications"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/publications_selected.md

@@ -4,7 +4,7 @@
 # `selected = true` in their `+++` front matter.
 widget = "publications_selected"
 active = true
-date = 2016-04-20
+date = 2016-04-20T00:00:00
 
 title = "Selected Publications"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/tags.md

@@ -2,7 +2,7 @@
 # Tag Cloud widget.
 widget = "tag_cloud"
 active = true
-date = 2017-09-20
+date = 2017-09-20T00:00:00
 
 title = "Tags"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/talks.md

@@ -2,7 +2,7 @@
 # Recent and Upcoming Talks widget.
 widget = "talks"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 title = "Recent & Upcoming Talks"
 subtitle = ""

+ 1 - 1
exampleSite/content/home/teaching.md

@@ -4,7 +4,7 @@
 # To create more sections, duplicate this file and edit the values below as desired.
 widget = "custom"
 active = true
-date = "2016-04-20T00:00:00"
+date = 2016-04-20T00:00:00
 
 # Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`.
 title = "Teaching"

+ 1 - 1
exampleSite/content/post/_index.md

@@ -1,6 +1,6 @@
 +++
 title = "Posts"
-date = 2017-01-01
+date = 2017-01-01T00:00:00
 math = false
 highlight = false
 

+ 2 - 2
exampleSite/content/post/getting-started.md

@@ -1,8 +1,8 @@
 +++
 title = "Academic: the website designer for Hugo"
 
-date = 2016-04-20
-lastmod = 2018-01-13
+date = 2016-04-20T00:00:00
+lastmod = 2018-01-13T00:00:00
 draft = false
 
 tags = ["academic"]

+ 1 - 1
exampleSite/content/project/deep-learning.md

@@ -1,6 +1,6 @@
 +++
 # Date this page was created.
-date = "2016-04-27"
+date = 2016-04-27T00:00:00
 
 # Project title.
 title = "Deep Learning"

+ 1 - 1
exampleSite/content/project/example-external-project.md

@@ -1,6 +1,6 @@
 +++
 # Date this page was created.
-date = "2016-04-27"
+date = 2016-04-27T00:00:00
 
 # Project title.
 title = "External Project"

+ 1 - 1
exampleSite/content/publication/_index.md

@@ -1,6 +1,6 @@
 +++
 title = "Publications"
-date = "2017-01-01T00:00:00Z"
+date = 2017-01-01T00:00:00
 math = false
 highlight = false
 

+ 1 - 1
exampleSite/content/publication/clothing-search.md

@@ -1,6 +1,6 @@
 +++
 title = "Mobile visual clothing search"
-date = "2013-07-01"
+date = 2013-07-01T00:00:00
 
 # Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
 authors = ["GA Cushen", "MS Nixon"]

+ 1 - 1
exampleSite/content/publication/person-re-identification.md

@@ -1,6 +1,6 @@
 +++
 title = "A Person Re-Identification System For Mobile Devices"
-date = "2015-09-01"
+date = 2015-09-01T00:00:00
 
 # Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
 authors = ["GA Cushen"]

+ 1 - 1
exampleSite/content/tags/academic/_index.md

@@ -1,6 +1,6 @@
 +++
 title = "Content tagged as 'Academic'"
-date = "2017-01-01T00:00:00"
+date = 2017-01-01T00:00:00
 math = false
 highlight = false
 

+ 1 - 1
exampleSite/content/talk/_index.md

@@ -1,6 +1,6 @@
 +++
 title = "Recent & Upcoming Talks"
-date = "2017-01-01T00:00:00Z"
+date = 2017-01-01T00:00:00
 math = false
 highlight = false