{{ .Title }}
+ + +{{ .Summary }}
+ +diff --git a/config.toml b/config.toml index baecb10b05087692fbc578b21f23ecbe68e7a6ac..53035794458df640d735d40c084cc9acfab51127 100644 --- a/config.toml +++ b/config.toml @@ -50,7 +50,7 @@ paginate = 10 [[menu.main]] identifier = "events" name = "Upcoming Events" - url = "/news.html" + url = "/events.html" parent = "community" weight = 2 diff --git a/content/events/linked-post.md b/content/events/linked-post.md index f2793d1b398ccf7f671c59f36168630ea7a109d4..b71047412241ede9d3039dfe34e2d70e7da8e8d8 100644 --- a/content/events/linked-post.md +++ b/content/events/linked-post.md @@ -1,14 +1,13 @@ +++ -title = "Linked post" -date = "2015-10-02T21:49:20+02:00" -tags = ["golang", "programming", "theme", "hugo"] +title = "Huawei Connect" +date = "2017-09-18T21:49:20+02:00" +tags = ["meetup", "summit"] categories = ["programming"] banner = "img/banners/banner-4.jpg" author = "John Doe" +++ -I'm a linked post in the menu. You can add other posts by adding the following line to the frontmatter: - +Huawei Connect summity will hold on 18th Sep in Shanghai. menu = "main" diff --git a/themes/project/layouts/events/list.html b/themes/project/layouts/events/list.html new file mode 100644 index 0000000000000000000000000000000000000000..c9795b94d79492f49af44b5c13d4c81081866ba4 --- /dev/null +++ b/themes/project/layouts/events/list.html @@ -0,0 +1,115 @@ + + + + {{ partial "head.html" . }} + +
+ +{{ .Summary }}
+ +{{ if .Params.author }}{{ i18n "authorBy" }} {{ .Params.author }} | {{ end }}{{ .Date.Format .Site.Params.date_format }}
+ +