diff --git a/layouts/api.html b/layouts/api.html index 6ba73632bb..888f27d185 100644 --- a/layouts/api.html +++ b/layouts/api.html @@ -80,45 +80,6 @@ margin-right: 5px; } - .api-shell { - border-bottom: 1px solid #d9e2ec; - padding: 32px 24px; - } - - .api-shell article { - margin: 0 auto; - max-width: 960px; - } - - .api-shell h1 { - font-size: 2rem; - line-height: 1.2; - margin: 0 0 12px; - } - - .api-shell p { - margin: 0 0 16px; - max-width: 72ch; - } - - .api-links { - display: flex; - flex-wrap: wrap; - gap: 12px; - list-style: none; - margin: 0; - padding: 0; - } - - .api-links a { - color: #086dd7; - text-decoration: none; - } - - .api-links a:hover { - text-decoration: underline; - } - .redoc-container { min-height: calc(100vh - 220px); } @@ -127,32 +88,19 @@
-
-
-

{{ .Title }}

-

{{ .Description }}

- - -
-
+ {{ if or (strings.HasPrefix .RelPermalink "/reference/api/hub/") (strings.HasPrefix .RelPermalink "/reference/api/registry/") }}