add policy and seperate governance

* add policy pages
* move all governance docs to external links
* have 2 footer menu entries

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 3 years ago
parent 5ecbc9fc5f
commit 98400ef26e

@ -89,11 +89,25 @@
url = "/resources/"
weight= -600

### governance
[[governance]]
name = "Privacy Policy"
url = "/privacypolicy/"
### policy
[[policy]]
name = "Coockie Policy"
url = "/policy/cookie/"
weight = -2000
[[policy]]
name = "Privacy Policy"
url = "/policy/privacy/"
weight = -1900
[[policy]]
name = "Logo Policy"
url = "/policy/logo/"
weight = -1800
[[policy]]
name = "Trademark Policy"
url = "/policy/trademark/"
weight = -1700

### governance
[[governance]]
name = "Certificate of Incorperation"
url = "https://files.openpower.foundation/s/xAkXWTxTxRqTeaM"
@ -112,6 +126,11 @@
pre = "far fa-file-pdf"
#post = "fas fa-external-link-alt"
weight = -1700
[[governance]]
name = "Anti Trust Guidelines"
url = "https://files.openpower.foundation/s/k5Hny649q3XHSqk"
pre = "far fa-file-pdf"
weight = -1600

### social
[[social]]

@ -1,7 +1,7 @@
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="col-md-3">
<div class="footer__info">
<h3 class="footer__info-title">OpenPOWER Foundation</h3>
<div class="footer__addr">
@ -13,7 +13,23 @@
</div>
</div>
</div>
<div class=col-md-4>
<div class="col-md-3">
<div class="footer__info">
<h3 class="footer__info-title">Policy</h3>
<div class="footer__addr">
<ul>
{{ range .Site.Menus.policy }}
<li><a href="{{ .URL | absURL }}">
{{ if .Pre }}<i class="{{ .Pre }}"></i>&nbsp;{{ end }}
{{ .Name }}
{{ if .Post }}&nbsp;<i class="{{ .Post }}"></i>{{ end }}
</a></li>
{{ end }}
</ul>
</div>
</div>
</div>
<div class="col-md-3">
<div class="footer__info">
<h3 class="footer__info-title">Governance</h3>
<div class="footer__addr">
@ -29,7 +45,7 @@
</div>
</div>
</div>
<div class="col-md-4">
<div class="col-md-3">
<p>Stay in touch, follow us:</p>
<div class="social__list pb-4 pb-lg-0">
{{ range .Site.Menus.social }}

@ -0,0 +1,20 @@
{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<main class="main">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1 class="h1 section-header my-3 my-md-5 pb-2">{{ .Title }}</h1>
<h3>Last updated on {{ .Date.Format "Monday 2 January 2006" }}</h3>
</div>
</div>
<div class="row">
<div class="col-md-2">&nbsp;</div>
<div class="col-md-8 text-left">
{{ .Content }}
</div>
<div class="col-md-2">&nbsp;</div>
</div>
</div>
</main>
{{ partial "footer.html" . }}

@ -1,21 +0,0 @@
{{ partial "header.html" . }}

{{ partial "navbar.html" . }}
<main class="main">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1 class="h1 section-header my-3 my-md-5 pb-2">{{ .Title }}</h1>
</div>
<div>
<div class="row">
<div class="col-md-2">&nbsp;</div>
<div class="col-md-8 text-left">
{{ .Content }}
</div>
<div class="col-md-2">&nbsp;</div>
</div>
</div>
</main>

{{ partial "footer.html" . }}
Loading…
Cancel
Save