mirror of https://github.com/docker/docs.git
Allows version-specific forwarding to inherit from master
This commit is contained in:
parent
466e65dd56
commit
cc2092d2fa
2
404.md
2
404.md
|
@ -18,7 +18,7 @@ permalink: /404.html
|
|||
gonnaFwd = true;
|
||||
// make it so redirects cascade; first, use the base URL, then append path
|
||||
baseURL = forwardingURL.replace("/{{ item[0] }}","{{ page.archiveserver }}:{{ item[1].ports[0] | replace:':4000','' }}");
|
||||
forwardingURL = forwardingURL.replace("/{{ item[0] }}","");
|
||||
forwardingURL = forwardingURL.replace("/{{ item[0] }}/","");
|
||||
}{% endfor %}
|
||||
{% for item in site.data.redirects %}
|
||||
var redirectVal = {{ item | jsonify }};
|
||||
|
|
Loading…
Reference in New Issue