forked from kubernetes/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#31 from lucperkins/lperkins/update-base…
…-url Production site updates
- Loading branch information
Showing
3 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{{ $img := "https://raw.githubusercontent.com/cncf/artwork/master/projects/etcd/stacked/color/etcd-stacked-color.png" }} | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>etcd | 404 not found</title> | ||
{{ partial "css.html" . }} | ||
</head> | ||
<body> | ||
<section class="hero is-fullheight"> | ||
<div class="hero-body has-text-centered"> | ||
<div class="container"> | ||
<img src="{{ $img }}" width="150px"> | ||
|
||
<hr /> | ||
|
||
<p class="title is-size-1 is-size-2-mobile has-text-weight-bold is-spaced"> | ||
404 not found | ||
</p> | ||
|
||
<p class="subtitle"> | ||
We're sorry, but this page could not be found. Perhaps you were looking for: | ||
</p> | ||
|
||
<ul> | ||
<li> | ||
<a class="is-size-5" href="/"> | ||
The etcd main page | ||
</a> | ||
</li> | ||
<li> | ||
<a class="is-size-5" href="/docs/latest"> | ||
The etcd documentation | ||
</a> | ||
</li> | ||
<li> | ||
<a class="is-size-5" href="https://github.com/etcd-io/etcd"> | ||
The etcd GitHub repo | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,22 @@ | ||
{{ $title := cond .IsHome site.Title .Title }} | ||
{{ $type := cond .IsHome "website" "article" }} | ||
{{ $url := .Permalink }} | ||
{{ $img := "https://raw.githubusercontent.com/cncf/artwork/master/projects/etcd/horizontal/color/etcd-horizontal-color.png" }} | ||
{{ $description := .Param "description" }} | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" /> | ||
{{ partial "favicon.html" . }} | ||
<meta name="viewport" content="initial-scale=1,maximum-scale=1,width=device-width,user-scalable=no" /> | ||
|
||
<!-- OpenGraph metadata --> | ||
<meta property="og:title" content="{{ $title }}"> | ||
<meta property="og:type" content="{{ $type }}"> | ||
<meta property="og:url" content="{{ $url }}"> | ||
<meta property="og:image" content="{{ $img }}"> | ||
<meta property="og:image:alt" content="etcd project logo"> | ||
<meta property="og:image:type" content="image/png"> | ||
{{ with $description }} | ||
<meta property="og:description" content="{{ . }}"> | ||
{{ end }} | ||
<meta property="og:locale" content="en_US"> | ||
|
||
<!-- Hugo shout-out --> | ||
{{ hugo.Generator }} |