update 404 page and add suggested button

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
remotes/1720744104865095624/master
Toshaan Bharvani 3 years ago
parent ff45f59cfc
commit 24097c0f12

@ -0,0 +1,5 @@
---
title: 404 Page not Found
date: 2022-02-19
draft: false
---

@ -0,0 +1,9 @@
alternatebuttons:
- title: Working Groups
link: /groups/
- title: Technical Specifications
link: /specifications/
- title: Compliance Specificiations
link: /compliance/
- title: Contact Us
link: /contact/

@ -1,34 +1,34 @@
i{{ partial "header.html" . }} {{ partial "header.html" . }}

{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}

<main id="lost">
<main>
<section id="lost"> <section id="lost">
<div class="container-fluid"> <div class="container">

<div class="section-header">
<div class="section-header"> <h3 class="section-title">{{ .Title }}</h3>
<h3 class="section-title">You are lost.</h3> <p class="section-description">{{ .Content }}</p>
<span class="section-divider"></span> </div>
<p class="section-description">404 Not Found error</p> <div class="row">
</div> <p>Maybe you're looking for this :</p>

{{ range $.Site.Data.fourofour.alternatebuttons }}
<div class="row"> <div class="col-lg-3"><a class="btn btn-outline-primary" href="{{ .link | relURL }}">{{ .title }}</a></div>
<div class="col-lg-1">&nbsp;</div> {{ end }}
<div class="col-lg-10 col-lg-offset-4 text-center text-center"> </div>
<div class="gallery-item wow fadeInUp"> <div class="row">&nbsp;</div>
<img src="/img/powerlinuxlaptop.png" alt="404"> <div class="row">
</div> <div class="col-lg-1">&nbsp;</div>
</div> <div class="col-lg-10 col-lg-offset-4 text-center text-center">
<div class="col-lg-1">&nbsp;</div> {{ $logoimagefile := "img/openpower-logo.png" }}
{{ $logoimageresource := resources.Get $logoimagefile }}
{{ $404imagefile := "img/powerlinuxlaptop.png" }}
{{ $404imageresource := resources.Get $404imagefile }}
{{ $404imageoverlay := $404imageresource.Filter (images.Overlay $logoimageresource 15 15) }}
{{ $404image := $404imageoverlay.Fit "800x800 webp" }}
<div class="gallery-item wow fadeInUp"><img src="{{ $404image.RelPermalink }}" alt="404"></div>
</div> </div>

<div class="col-lg-1">&nbsp;</div>
<div class="container">&nbsp;</div>

</div> </div>
</div>
</section> </section>

</main> </main>

<div class="container">&nbsp;</div> <div class="container">&nbsp;</div>

{{ partial "footer.html" . }} {{ partial "footer.html" . }}

Loading…
Cancel
Save