This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 153b797  Templatize resources page (#1041)
153b797 is described below

commit 153b79703ac979012763d93f537f48520e73d1ea
Author: Luc Perkins <lucperk...@gmail.com>
AuthorDate: Tue Feb 6 21:50:54 2018 -0800

    Templatize resources page (#1041)
    
    * templatize resources page
    
    * change title of page to Resources
    
    * add missing license headers
    
    * add more license headers
    
    * s/creator/co-creator
---
 site/_data/resources/articles.yaml          | 35 +++++++++++++++++++++
 site/_data/resources/presentations.yaml     | 31 ++++++++++++++++++
 site/_includes/navbar.html                  |  2 +-
 site/_includes/resources/articles.html      | 37 ++++++++++++++++++++++
 site/_includes/resources/presentations.html | 49 +++++++++++++++++++++++++++++
 site/{presentations.md => resources.md}     | 10 ++----
 6 files changed, 156 insertions(+), 8 deletions(-)

diff --git a/site/_data/resources/articles.yaml 
b/site/_data/resources/articles.yaml
new file mode 100644
index 0000000..bd8a764
--- /dev/null
+++ b/site/_data/resources/articles.yaml
@@ -0,0 +1,35 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+- forum: Yahoo Engineering blog
+  forum_link: https://yahooeng.tumblr.com/
+  title: Open sourcing Pulsar, pub-sub messaging at scale
+  link: 
https://yahooeng.tumblr.com/post/150078336821/open-sourcing-pulsar-pub-sub-messaging-at-scale
+- forum: Streamlio blog
+  forum_link: https://blog.streaml.io
+  title: Introduction to Apache Pulsar
+  link: https://streaml.io/blog/intro-to-pulsar/
+- forum: Streamlio blog
+  forum_link: https://blog.streaml.io
+  title: Why Apache Pulsar? Part 1
+  link: https://streaml.io/blog/why-apache-pulsar/
+- forum: Streamlio blog
+  forum_link: https://blog.streaml.io
+  title: Why Apache Pulsar? Part 2
+  link: https://streaml.io/blog/why-apache-pulsar-part-2
\ No newline at end of file
diff --git a/site/_data/resources/presentations.yaml 
b/site/_data/resources/presentations.yaml
new file mode 100644
index 0000000..6dc5da9
--- /dev/null
+++ b/site/_data/resources/presentations.yaml
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+- forum: Bay Area Hadoop Meetup
+  forum_link: https://www.meetup.com/hadoop
+  presenter: Matteo Merli (Pulsar co-creator)
+  date: October 2016
+  title: "Pulsar: a highly scalable, low-latency pub-sub messaging system"
+  link: 
https://www.slideshare.net/ydn/october-2016-hug-pulsar-a-highly-scalable-low-latency-pubsub-messaging-system
+- forum:
+  forum_link:
+  presenter: Matteo Merli (Pulsar co-creator)
+  date: November 2016
+  title: "Pulsar: a distributed pub-sub platform"
+  link: https://www.slideshare.net/merlimat/pulsar-distributed-pubsub-platform
diff --git a/site/_includes/navbar.html b/site/_includes/navbar.html
index 1bbc693..2f67114 100644
--- a/site/_includes/navbar.html
+++ b/site/_includes/navbar.html
@@ -101,7 +101,7 @@
           <a class="dropdown-item" 
href="https://github.com/apache/incubator-pulsar/issues";>Issue tracking</a>
           <div class="dropdown-divider"></div>
           <h3 class="dropdown-header">Resources</h3>
-          <a class="dropdown-item" href="{{ site.baseurl 
}}presentations">Presentations</a>
+          <a class="dropdown-item" href="{{ site.baseurl 
}}resources">Resources</a>
           <a class="dropdown-item" href="{{ site.baseurl }}team">Team</a>
           <div class="dropdown-divider"></div>
           <h3 class="dropdown-header">Apache</h3>
diff --git a/site/_includes/resources/articles.html 
b/site/_includes/resources/articles.html
new file mode 100644
index 0000000..db8d0d5
--- /dev/null
+++ b/site/_includes/resources/articles.html
@@ -0,0 +1,37 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+<table>
+  <thead>
+    <tr>
+      <th>Forum</th>
+      <th>Link</th>
+    </tr>
+  </thead>
+  <tbody>
+    {% for article in site.data.resources.articles %}
+    <tr>
+      <td><a href="{{ article.forum_link }}">{{ article.forum }}</a></td>
+      <td><a href="{{ article.link }}">{{ article.title }}</a></td>
+    </tr>
+    {% endfor %}
+  </tbody>
+</table>
\ No newline at end of file
diff --git a/site/_includes/resources/presentations.html 
b/site/_includes/resources/presentations.html
new file mode 100644
index 0000000..df3a1b5
--- /dev/null
+++ b/site/_includes/resources/presentations.html
@@ -0,0 +1,49 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+<table>
+  <thead>
+    <tr>
+      <th>Forum</th>
+      <th>Date</th>
+      <th>Presenter</th>
+      <th>Link</th>
+    </tr>
+  </thead>
+  <tbody>
+    {% for presentation in site.data.resources.presentations %}
+      <tr>
+        <td>
+          <a href="{{ presentation.forum_link }}">{{ presentation.forum }}</a>
+        </td>
+        <td>
+          {{ presentation.date }}
+        </td>
+        <td>
+          {{ presentation.presenter }}
+        </td>
+        <td>
+          <a href="{{ presentation.link }}">{{ presentation.title }}</a>
+        </td>
+      </tr>
+    {% endfor %}
+  </tbody>
+</table>
\ No newline at end of file
diff --git a/site/presentations.md b/site/resources.md
similarity index 51%
rename from site/presentations.md
rename to site/resources.md
index a6cd94f..a8ba1d5 100644
--- a/site/presentations.md
+++ b/site/resources.md
@@ -1,5 +1,5 @@
 ---
-title: Presentations
+title: Resources
 layout: content
 ---
 
@@ -26,12 +26,8 @@ layout: content
 
 ## Articles
 
- * Yahoo Engineering blog post --- [Open-sourcing Pulsar, Pub-sub Messaging at 
Scale](https://yahooeng.tumblr.com/post/150078336821/open-sourcing-pulsar-pub-sub-messaging-at-scale)
- * Streamlio --- [Introduction to Apache 
Pulsar](https://streaml.io/blog/intro-to-pulsar/)
- * Streamlio --- [Why Apache Pulsar? Part 
1](https://streaml.io/blog/why-apache-pulsar/)
- * Streamlio --- [Why Apache Pulsar? Part 
2](https://streaml.io/blog/why-apache-pulsar-part-2/)
+{% include resources/articles.html %}
 
 ## Presentations
 
- * October 2016 Hadoop User Group --- [Pulsar, a highly scalable, low latency 
pub-sub messaging 
system](https://www.slideshare.net/ydn/october-2016-hug-pulsar-a-highly-scalable-low-latency-pubsub-messaging-system)
- * November 2016 --- [Pulsar - Distributed pub/sub 
platform](https://www.slideshare.net/merlimat/pulsar-distributed-pubsub-platform)
+{% include resources/presentations.html %}

-- 
To stop receiving notification emails like this one, please contact
mme...@apache.org.

Reply via email to