diff --git a/content/404.md b/content/404.md new file mode 100644 index 0000000..7360eca --- /dev/null +++ b/content/404.md @@ -0,0 +1,5 @@ +--- +title: 404 Page not Found +date: 2022-02-19 +draft: false +--- diff --git a/data/fourofour.yaml b/data/fourofour.yaml new file mode 100644 index 0000000..9d1ce0b --- /dev/null +++ b/data/fourofour.yaml @@ -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/ diff --git a/themes/openpowerfoundation/static/img/powerlinuxlaptop.png b/themes/openpowerfoundation/assets/img/powerlinuxlaptop.png similarity index 100% rename from themes/openpowerfoundation/static/img/powerlinuxlaptop.png rename to themes/openpowerfoundation/assets/img/powerlinuxlaptop.png diff --git a/themes/openpowerfoundation/layouts/404.html b/themes/openpowerfoundation/layouts/404.html index 221dcaa..84ffa92 100644 --- a/themes/openpowerfoundation/layouts/404.html +++ b/themes/openpowerfoundation/layouts/404.html @@ -1,34 +1,34 @@ -i{{ partial "header.html" . }} - +{{ partial "header.html" . }} {{ partial "navbar.html" . }} - -
+
-
- -
-

You are lost.

- -

404 Not Found error

-
- -
-
 
-
- -
-
 
+
+
+

{{ .Title }}

+

{{ .Content }}

+
+
+

Maybe you're looking for this :

+ {{ range $.Site.Data.fourofour.alternatebuttons }} + + {{ end }} +
+
 
+
+
 
+
+ {{ $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" }} +
- -
 
- +
 
+
-
-
 
- {{ partial "footer.html" . }}