forked from website/openpower.foundation
update 404 page and add suggested button
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>remotes/1693382392408915667/master
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/
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
@ -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">You are lost.</h3>
|
<h3 class="section-title">{{ .Title }}</h3>
|
||||||
<span class="section-divider"></span>
|
<p class="section-description">{{ .Content }}</p>
|
||||||
<p class="section-description">404 Not Found error</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<p>Maybe you're looking for this :</p>
|
||||||
|
{{ range $.Site.Data.fourofour.alternatebuttons }}
|
||||||
|
<div class="col-lg-3"><a class="btn btn-outline-primary" href="{{ .link | relURL }}">{{ .title }}</a></div>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
<div class="row"> </div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-1"> </div>
|
<div class="col-lg-1"> </div>
|
||||||
<div class="col-lg-10 col-lg-offset-4 text-center text-center">
|
<div class="col-lg-10 col-lg-offset-4 text-center text-center">
|
||||||
<div class="gallery-item wow fadeInUp">
|
{{ $logoimagefile := "img/openpower-logo.png" }}
|
||||||
<img src="/img/powerlinuxlaptop.png" alt="404">
|
{{ $logoimageresource := resources.Get $logoimagefile }}
|
||||||
</div>
|
{{ $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"> </div>
|
<div class="col-lg-1"> </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container"> </div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<div class="container"> </div>
|
<div class="container"> </div>
|
||||||
|
|
||||||
{{ partial "footer.html" . }}
|
{{ partial "footer.html" . }}
|
||||||
|
Loading…
Reference in New Issue