diff --git a/_includes/https_redirect.html b/_includes/https_redirect.html deleted file mode 100644 index eb8587069f..0000000000 --- a/_includes/https_redirect.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/_layouts/default.html b/_layouts/default.html index 300a24d612..3a75b87e29 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -21,7 +21,14 @@ {% 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 5042e7e9a7..91d9ed84b6 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