diff --git a/stack.yml b/stack.yml index f3b4c902..d3f31a0d 100644 --- a/stack.yml +++ b/stack.yml @@ -28,6 +28,13 @@ Resources: KeyPrefixEquals: / RedirectRule: HostName: !Ref 'DomainName' + - RoutingRuleCondition: + KeyPrefixEquals: "4.0/" + RedirectRule: + HostName: !Ref 'DomainName' + HttpRedirectCode: 301 + Protocol: "https" + ReplaceKeyPrefixWith: "" WebsiteCloudfront: Type: AWS::CloudFront::Distribution Properties: diff --git a/theme/404.html b/theme/404.html index 4c422f6b..60433d83 100644 --- a/theme/404.html +++ b/theme/404.html @@ -1,1357 +1,9 @@ +{% extends "main.html" %} - - - - - - - - - - - - - - - - - - - Vapor Docs - +{% block content %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- - - - -
- - -
- -
- - - - - - -
-
- - - -
-
-
- - - - -
-
-
- - - -
-
-

404 - Page not found

The page you are looking for may have been removed, changed in name, or it is temporarily unavailable. Please try again later.

+ Return to the home page -
-
-
- -
- - - -
-
-
-
- - - - - - - - \ No newline at end of file +{% endblock %} \ No newline at end of file