From b7907873b18ccfdd0d664a050ae432df88167148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cabe=CC=81?= <benjamin@eclipse.org> Date: Sat, 7 Mar 2015 00:44:13 +0100 Subject: [PATCH] test add event --- content/event/eclipse-day-dresden.md | 11 +++++++++++ content/event/{xx.md => eclipsecon2015.md} | 2 -- layouts/index.html | 4 ++-- public/event/index.xml | 19 ++++++++++++++----- public/index.html | 17 ++++++++++++++++- public/index.xml | 19 ++++++++++++++----- public/sitemap.xml | 9 +++++++-- 7 files changed, 64 insertions(+), 17 deletions(-) create mode 100644 content/event/eclipse-day-dresden.md rename content/event/{xx.md => eclipsecon2015.md} (98%) diff --git a/content/event/eclipse-day-dresden.md b/content/event/eclipse-day-dresden.md new file mode 100644 index 00000000..dce83ce6 --- /dev/null +++ b/content/event/eclipse-day-dresden.md @@ -0,0 +1,11 @@ ++++ +type = "event" +date = "2015-03-18" +event_date = "Mar 18, 2015" +link = "http://iotday.dd-eclipse.de/" +location = "Dresden, Germany" +title = "Eclipse Day Dresden" + ++++ + +xx \ No newline at end of file diff --git a/content/event/xx.md b/content/event/eclipsecon2015.md similarity index 98% rename from content/event/xx.md rename to content/event/eclipsecon2015.md index 408e67f1..5e6d66a1 100644 --- a/content/event/xx.md +++ b/content/event/eclipsecon2015.md @@ -7,5 +7,3 @@ location = "Burlingame, CA" title = "EclipseCon NA 2015" +++ - -xx \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index de02a47e..59d8edde 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -262,9 +262,9 @@ <div class="upcoming-events-item"> <h3> {{ .Title }}<br> - <span class="date">Mar 9-12, 2015</span> + <span class="date">{{ .Params.event_date }}</span> </h3> - <p>{{ .Params.Location }}</p> + <p>{{ .Params.location }}</p> </div> </a> </div> diff --git a/public/event/index.xml b/public/event/index.xml index 4085649c..0fc380f0 100644 --- a/public/event/index.xml +++ b/public/event/index.xml @@ -7,17 +7,26 @@ - <updated>Mon, 09 Mar 2015 00:00:00 UTC</updated> + <updated>Wed, 18 Mar 2015 00:00:00 UTC</updated> <item> - <title>EclipseCon NA 2015</title> - <link>/event/xx/</link> - <pubDate>Mon, 09 Mar 2015 00:00:00 UTC</pubDate> + <title>Eclipse Day Dresden</title> + <link>/event/eclipse-day-dresden/</link> + <pubDate>Wed, 18 Mar 2015 00:00:00 UTC</pubDate> - <guid>/event/xx/</guid> + <guid>/event/eclipse-day-dresden/</guid> <description><p>xx</p> </description> </item> + <item> + <title>EclipseCon NA 2015</title> + <link>/event/eclipsecon2015/</link> + <pubDate>Mon, 09 Mar 2015 00:00:00 UTC</pubDate> + + <guid>/event/eclipsecon2015/</guid> + <description></description> + </item> + </channel> </rss> \ No newline at end of file diff --git a/public/index.html b/public/index.html index c706ac48..ff56cf06 100644 --- a/public/index.html +++ b/public/index.html @@ -246,6 +246,21 @@ + <div class="col-sm-6"> + <a href="http://iotday.dd-eclipse.de/" target="_blank"> + <div class="upcoming-events-item"> + <h3> + Eclipse Day Dresden<br> + <span class="date">Mar 18, 2015</span> + </h3> + <p>Dresden, Germany</p> + </div> + </a> + </div> + + + + <div class="col-sm-6"> <a href="http://www.eclipsecon.org/na2015" target="_blank"> <div class="upcoming-events-item"> @@ -253,7 +268,7 @@ EclipseCon NA 2015<br> <span class="date">Mar 9-12, 2015</span> </h3> - <p></p> + <p>Burlingame, CA</p> </div> </a> </div> diff --git a/public/index.xml b/public/index.xml index ac126e3e..1ad0b170 100644 --- a/public/index.xml +++ b/public/index.xml @@ -7,18 +7,27 @@ - <updated>Mon, 09 Mar 2015 00:00:00 UTC</updated> + <updated>Wed, 18 Mar 2015 00:00:00 UTC</updated> <item> - <title>EclipseCon NA 2015</title> - <link>/event/xx/</link> - <pubDate>Mon, 09 Mar 2015 00:00:00 UTC</pubDate> + <title>Eclipse Day Dresden</title> + <link>/event/eclipse-day-dresden/</link> + <pubDate>Wed, 18 Mar 2015 00:00:00 UTC</pubDate> - <guid>/event/xx/</guid> + <guid>/event/eclipse-day-dresden/</guid> <description><p>xx</p> </description> </item> + <item> + <title>EclipseCon NA 2015</title> + <link>/event/eclipsecon2015/</link> + <pubDate>Mon, 09 Mar 2015 00:00:00 UTC</pubDate> + + <guid>/event/eclipsecon2015/</guid> + <description></description> + </item> + <item> <title>first</title> <link>/post/first/</link> diff --git a/public/sitemap.xml b/public/sitemap.xml index af52a7f8..46a75953 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,12 +3,17 @@ <url> <loc>/</loc> - <lastmod>2015-03-09T00:00:00+00:00</lastmod> + <lastmod>2015-03-18T00:00:00+00:00</lastmod> <priority>0</priority> </url> <url> - <loc>/event/xx/</loc> + <loc>/event/eclipse-day-dresden/</loc> + <lastmod>2015-03-18T00:00:00+00:00</lastmod> + </url> + + <url> + <loc>/event/eclipsecon2015/</loc> <lastmod>2015-03-09T00:00:00+00:00</lastmod> </url> -- GitLab