You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<header id="header">
|
|
|
|
<div id="logo" class="pull-left">
|
|
|
|
{{ $imageresource := resources.Get "img/openpower-logo-white.png" }}
|
|
|
|
{{ $imagefile := $imageresource.Resize "350x60" }}
|
|
|
|
<h1><a href="/"><img src="{{ $imagefile.RelPermalink }}" alt="OpenPOWER Foundation" title="OpenPOWER Foundation"></a></h1>
|
|
|
|
</div>
|
|
|
|
<nav id="nav-menu-container">
|
|
|
|
<ul class="nav-menu">
|
|
|
|
{{ range .Site.Menus.navbar }}
|
|
|
|
{{ if eq .Identifier "groups" }}
|
|
|
|
<li class="menu-has-children"><a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
<ul>
|
|
|
|
{{ range $.Site.Pages }}
|
|
|
|
{{ $group := .Param "wgtype" }}
|
|
|
|
{{ if eq $group "twg" }}
|
|
|
|
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ if eq $group "sig" }}
|
|
|
|
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ else }}
|
|
|
|
{{ if .HasChildren }}
|
|
|
|
<li class="menu-has-children"><a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
<ul>
|
|
|
|
{{ range .Children }}
|
|
|
|
{{ if .HasChildren }}
|
|
|
|
<li class="menu-has-children"><a href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
<ul>
|
|
|
|
{{ range .Children }}
|
|
|
|
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{ else }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .URL }}">
|
|
|
|
{{ if .Pre }}
|
|
|
|
<i class={{ .Pre }}></i>
|
|
|
|
{{ end }}
|
|
|
|
{{ .Name }}
|
|
|
|
{{ if .Post }}
|
|
|
|
<i class="{{ .Post }}"></i>
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ else }}
|
|
|
|
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
<li><a href="/contact/"><i class="envelope icon"></i> Contact</a></li>
|
|
|
|
<li><a href="https://portal.openpower.foundation/"><i class="sign-in icon"></i> Member Login</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|