diff --git a/_includes/https_redirect.html b/_includes/https_redirect.html deleted file mode 100644 index eb85870..0000000 --- a/_includes/https_redirect.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/_layouts/default.html b/_layouts/default.html index 300a24d..3a75b87 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -21,7 +21,14 @@ limitations under the License. {% if page.title %}{{ page.title }}{% else %}{{ page.feature_name }} Sample{% endif %} - {% if page.https_redirect %}{% include https_redirect.html %}{% endif %} + {% assign sub_dirs = page.url | split: '/' | size | minus: 2 %} {% capture relative_path_to_root %}{% for i in (1..sub_dirs) %}../{% endfor %}{% endcapture %} diff --git a/service-worker/post-message/index.html b/service-worker/post-message/index.html index 5042e7e..91d9ed8 100644 --- a/service-worker/post-message/index.html +++ b/service-worker/post-message/index.html @@ -2,7 +2,6 @@ feature_name: Service Worker postMessage() chrome_version: 45 feature_id: 5163630974730240 -https_redirect: true ---

Background