_includes/head.html in bfdotcom-theme-0.1.2 vs _includes/head.html in bfdotcom-theme-0.2.0
- old
+ new
@@ -1,10 +1,32 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.512.0.min.js"></script>
+
+ <script type="text/javascript" src="/assets/scripts/axios/dist/axios.standalone.js"></script>
+ <script type="text/javascript" src="/assets/scripts/CryptoJS/rollups/hmac-sha256.js"></script>
+ <script type="text/javascript" src="/assets/scripts/CryptoJS/rollups/sha256.js"></script>
+ <script type="text/javascript" src="/assets/scripts/CryptoJS/components/hmac.js"></script>
+ <script type="text/javascript" src="/assets/scripts/CryptoJS/components/enc-base64.js"></script>
+ <script type="text/javascript" src="/assets/scripts/url-template/url-template.js"></script>
+ <script type="text/javascript" src="/assets/scripts/apiGatewayCore/sigV4Client.js"></script>
+ <script type="text/javascript" src="/assets/scripts/apiGatewayCore/apiGatewayClient.js"></script>
+ <script type="text/javascript" src="/assets/scripts/apiGatewayCore/simpleHttpClient.js"></script>
+ <script type="text/javascript" src="/assets/scripts/apiGatewayCore/utils.js"></script>
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
{%- seo -%}
+
+ <script type="text/javascript">
+ var api_gateway_url = "{{site.api_gateway_url}}"
+ var user_pool_id = "{{site.user_pool_id}}"
+ var identity_pool_id = "{{site.identity_pool_id}}"
+ var user_pool_client_id = "{{site.user_pool_client_id}}"
+ var aws_region = "{{site.aws_region}}"
+ var auth_url = "{{site.auth_url}}"
+ </script>
</head>