From 0860b94a85d1d5f1dca1b3f758b4c681cd1766a2 Mon Sep 17 00:00:00 2001 From: waytrue17 <52505574+waytrue17@users.noreply.github.com> Date: Tue, 23 Feb 2021 21:03:49 -0800 Subject: [PATCH] [website] Fix broken website for master version (#19945) * fix website * fix header * fix index * remove locall test * fix main.scss Co-authored-by: Wei Chu --- docs/static_site/src/404.html | 34 ++++++++---------- docs/static_site/src/_layouts/default.html | 4 +-- docs/static_site/src/_layouts/home.html | 4 +-- docs/static_site/src/_layouts/page.html | 33 ++++++++--------- docs/static_site/src/_layouts/page_api.html | 33 ++++++++--------- .../src/_layouts/page_category.html | 33 ++++++++--------- .../src/_layouts/page_landing_tutorials.html | 33 ++++++++--------- docs/static_site/src/_layouts/post.html | 33 ++++++++--------- docs/static_site/src/assets/main.scss | 4 +-- docs/static_site/src/index.html | 35 +++++++++---------- 10 files changed, 112 insertions(+), 134 deletions(-) diff --git a/docs/static_site/src/404.html b/docs/static_site/src/404.html index 8e8a2c648c15..e4bb46448f85 100644 --- a/docs/static_site/src/404.html +++ b/docs/static_site/src/404.html @@ -1,23 +1,19 @@ - - --- + # Licensed to the Apache Software Foundation (ASF) under one + # or more contributor license agreements. See the NOTICE file + # distributed with this work for additional information + # regarding copyright ownership. The ASF licenses this file + # to you under the Apache License, Version 2.0 (the + # "License"); you may not use this file except in compliance + # with the License. You may obtain a copy of the License at + # http://www.apache.org/licenses/LICENSE-2.0 + # Unless required by applicable law or agreed to in writing, + # software distributed under the License is distributed on an + # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + # KIND, either express or implied. See the License for the + # specific language governing permissions and limitations + # under the License. + layout: default --- diff --git a/docs/static_site/src/_layouts/default.html b/docs/static_site/src/_layouts/default.html index 247013d6c72a..56e7037e5f24 100644 --- a/docs/static_site/src/_layouts/default.html +++ b/docs/static_site/src/_layouts/default.html @@ -1,4 +1,5 @@ + + {%- include head.html -%} diff --git a/docs/static_site/src/_layouts/home.html b/docs/static_site/src/_layouts/home.html index 5ee3353060eb..9823d43f53a5 100644 --- a/docs/static_site/src/_layouts/home.html +++ b/docs/static_site/src/_layouts/home.html @@ -1,4 +1,5 @@ + + {%- include head.html -%} diff --git a/docs/static_site/src/_layouts/page.html b/docs/static_site/src/_layouts/page.html index fbdaf26df7b5..43a2050b4c47 100644 --- a/docs/static_site/src/_layouts/page.html +++ b/docs/static_site/src/_layouts/page.html @@ -1,22 +1,19 @@ - --- + # Licensed to the Apache Software Foundation (ASF) under one + # or more contributor license agreements. See the NOTICE file + # distributed with this work for additional information + # regarding copyright ownership. The ASF licenses this file + # to you under the Apache License, Version 2.0 (the + # "License"); you may not use this file except in compliance + # with the License. You may obtain a copy of the License at + # http://www.apache.org/licenses/LICENSE-2.0 + # Unless required by applicable law or agreed to in writing, + # software distributed under the License is distributed on an + # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + # KIND, either express or implied. See the License for the + # specific language governing permissions and limitations + # under the License. + layout: default ---