Commit be528216 authored by Zhou Fang's avatar Zhou Fang
Browse files

Updated members list to use REM API

parent e7fd4ab4
......@@ -6,9 +6,12 @@ keywords: ["Eclipse OSGi members", "OSGi open source members", "open source OSGi
aliases:
- /members/
- /member/
layout: "members"
outputs:
- HTML
- JSON
- RSS
hide_sidebar: true
container: "container-fluid container"
---
{{< all-members >}}
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Adobe"
logo = "adobe" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "participating"
member_id = 1494
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "AICAS GmbH"
logo = "aicas" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "strategic"
member_id = 1480
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Robert Bosch GmbH"
logo = "bosch" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "strategic"
member_id = 979
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Data In Motion Consulting GmbH"
logo = "data_in_motion" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "strategic"
member_id = 1476
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "IBM"
logo = "ibm" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "strategic"
member_id = 656
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Interuniversitair Micro-Electronica Centrum vzm (IMEC)"
logo = "imec" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "guest"
member_id = 1504
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Liferay Inc"
logo = "liferay" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "participating"
member_id = 1320
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Makewave AB"
logo = "makewave" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "strategic"
member_id = 1482
+++
\ No newline at end of file
+++
date = "2021-02-11T08:31:18-04:00"
title = "Software AG"
logo = "software_ag" #make sure to have a file named [logo].png in the static/assets/images/members/ folder
member_type = "participating"
member_id = 804
+++
\ No newline at end of file
{{ define "main" }}
{{ .Content }}
<p class="big" style="font-weight:200;">Learn more about our members and discover the IoT solutions they&nbsp;offer&nbsp;today.</p>
<h2 class="margin-bottom-30">Strategic members</h2>
<div id="sc-members" class="members">
{{ range sort (where .Site.RegularPages.ByTitle "Section" "membership") ".Title" }}
{{ if eq .Params.member_type "strategic" }}
<div class="row members-info" id="member-{{ .Params.logo }}">
<div class="col-md-4 col-md-offset-1 mb-logo margin-top-20">
<a href="http://eclipse.org/membership/showMember.php?member_id={{ .Params.member_id }}">
<img src="/membership/members/images/logo-{{ .Params.logo }}.png" alt="{{ .Title }}" class="img-responsive" />
</a>
</div>
<div class="col-md-16 col-md-offset-1 mb-info margin-bottom-50">
<div class="mb-info-container">
<h3 id="{{ .Params.logo }}">{{ .Title }} </h3> {{ .Content }}
</div>
<div>
{{ if isset .Params "more_url" }}
<a href="{{ .Params.more_url }} " target="_blank">
<button class="btn btn-info btn-sm">Read more <i class="icon-chevron-right"></i></button>
</a>
{{ end }}
{{ if isset .Params "demo_url" }}
<a href="{{ .Params.demo_url }} " target="_blank">
<button class="btn btn-info btn-sm">View Demo <i class="icon-eye-open"></i></button>
</a>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
<h2 class="margin-bottom-30 margin-top-60">Participating members</h2>
<div id="participating-members" class="members">
{{ range sort (where .Site.RegularPages.ByTitle "Section" "membership") ".Title" }}
{{ if eq .Params.member_type "participating" }}
<div class="row members-info" id="member-{{ .Params.logo }}" title="{{ .Title }}">
<div class="col-md-4 col-md-offset-1 mb-logo margin-top-20">
<a href="http://eclipse.org/membership/showMember.php?member_id={{ .Params.member_id }}">
<img src="/membership/members/images/logo-{{ .Params.logo }}.png" alt="{{ .Title }}" class="img-responsive" />
</a>
</div>
<div class="col-md-16 col-md-offset-1 mb-info margin-bottom-50">
<div class="mb-info-container">
<h3 id="{{ .Params.logo }}">{{ .Title }} </h3> {{ .Content }}
</div>
<div>
{{ if isset .Params "more_url" }}
<a href="{{ .Params.more_url }} " target="_blank">
<button class="btn btn-info btn-sm">Read more <i class="icon-chevron-right"></i></button>
</a>
{{ end }}
{{ if isset .Params "demo_url" }}
<a href="{{ .Params.demo_url }} " target="_blank">
<button class="btn btn-info btn-sm">View Demo <i class="icon-eye-open"></i></button>
</a>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
<h2 class="purple" style="margin-top: 2em;">Guest members<br /><br /></h2>
<div id="guest-members" class="members">
{{ range sort (where .Site.RegularPages.ByTitle "Section" "membership") ".Title" }}
{{ if eq .Params.member_type "guest" }}
<div class="row members-info" id="member-{{ .Params.logo }}" title="{{ .Title }}">
<div class="col-md-4 col-md-offset-1 mb-logo margin-top-20">
<a href="http://eclipse.org/membership/showMember.php?member_id={{ .Params.member_id }}">
<img src="/membership/members/images/logo-{{ .Params.logo }}.png" alt="{{ .Title }}" class="img-responsive" />
</a>
</div>
<div class="col-md-16 col-md-offset-1 mb-info margin-bottom-50">
<div class="mb-info-container">
<h3 id="{{ .Params.logo }}">{{ .Title }} </h3> {{ .Content }}
</div>
<div>
{{ if isset .Params "more_url" }}
<a href="{{ .Params.more_url }} " target="_blank">
<button class="btn btn-info">Read more <i class="icon-chevron-right"></i></button>
</a>
{{ end }}
{{ if isset .Params "demo_url" }}
<a href="{{ .Params.demo_url }} " target="_blank">
<button class="btn btn-info">View Demo <i class="icon-eye-open"></i></button>
</a>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}
</div>
{{ end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment