Fix breakage due to CSP changes
The Apache CSP changed so that we can't load any
scripts, fonts, or images from other URLs.
Therefore all the ones we currently use have to be
put here so they're loaded from the same domain.
Also fix some Jekyll URL templating so that
_config_dev.yml can work properly with modern
Jekyll verisons.
Change-Id:If17ec8dbd1de435c9a0c6edf4dab71e6ede2a5a3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/incubator-asterixdb-site/+/19508
Reviewed-by: Ian Maxon <imaxon@apache.org>
diff --git a/content/index.html b/content/index.html
index a6b4c5b..307cae3 100644
--- a/content/index.html
+++ b/content/index.html
@@ -7,24 +7,24 @@
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
- <link rel="icon" href="favicon.ico">
+ <link rel="icon" href="https://asterixdb.apache.org/favicon.ico">
<meta http-equiv="Content-Security-Policy" content="frame-src youtube.com www.youtube.com">
<title>Apache AsterixDB</title>
<!-- Bootstrap core CSS -->
- <link href="css/bootstrap.min.css" rel="stylesheet">
+ <link href="https://asterixdb.apache.org/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap theme -->
<!-- Custom styles for this template -->
- <link href="css/theme.css" rel="stylesheet">
+ <link href="https://asterixdb.apache.org/css/theme.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
+ <link rel="stylesheet" href="https://asterixdb.apache.org/css/font-awesome.min.css">
</head>
<div class="container theme-showcase" role="main">
@@ -45,11 +45,11 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <a class="navbar-brand" href="index.html">Overview</a>
+ <a class="navbar-brand" href="https://asterixdb.apache.org/index.html">Overview</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
- <li><a href="download.html">Download</a></li>
+ <li><a href="https://asterixdb.apache.org/download.html">Download</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Documentation<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
@@ -60,16 +60,16 @@
<li><a href="https://ci.apache.org/projects/asterixdb/index.html">Documentation for 0.9.10-SNAPSHOT <i class="fa fa-external-link fa-sm"></i></a></li>
<li class="divider"></li>
<li class="dropdown-header">Tutorial for SQL Users</li>
- <li><a href="files/SQL_Book.pdf">Don Chamberlin's SQL++ for SQL Users<i class="fa fa-external-link fa-sm"></i></a></li>
+ <li><a href="https://asterixdb.apache.org/files/SQL_Book.pdf">Don Chamberlin's SQL++ for SQL Users<i class="fa fa-external-link fa-sm"></i></a></li>
</ul>
</li>
- <li><a href="about.html">About</a></li>
+ <li><a href="https://asterixdb.apache.org/about.html">About</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Community<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
- <li><a href="community.html">Mailing Lists</a></li>
- <li><a href="community.html#irc">IRC</a></li>
- <li><a href="community.html#asterixdb-team">Team</a></li>
+ <li><a href="https://asterixdb.apache.org/community.html">Mailing Lists</a></li>
+ <li><a href="https://asterixdb.apache.org/community.html#irc">IRC</a></li>
+ <li><a href="https://asterixdb.apache.org/community.html#asterixdb-team">Team</a></li>
<li><a href="https://issues.apache.org/jira/browse/ASTERIXDB">Issue Tracker</a></li>
</ul>
</li>
@@ -77,13 +77,13 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Development<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li class="dropdown-header">For New Contributors</li>
- <li><a href="dev-setup.html">Development Setup</a></li>
+ <li><a href="https://asterixdb.apache.org/dev-setup.html">Development Setup</a></li>
<li class="divider"></li>
<li class="dropdown-header">For Committers</li>
- <li><a href="pushing.html">Pushing changes</a></li>
- <li><a href="site.html">Editing this site</a></li>
+ <li><a href="https://asterixdb.apache.org/pushing.html">Pushing changes</a></li>
+ <li><a href="https://asterixdb.apache.org/site.html">Editing this site</a></li>
<li class="dropdown-header">Extensions</li>
- <li><a href="extension.html">Extending AsterixDB</a></li>
+ <li><a href="https://asterixdb.apache.org/extension.html">Extending AsterixDB</a></li>
</ul>
</li>
</ul>
@@ -134,12 +134,12 @@
<div class="col-md-4">
<h3 id="flexible-data">Flexible Data</h3>
- <img src="https://docs.google.com/drawings/d/1-0YZZz3XvOLEfMNhgt-Bf5jgscwHi3N4vVVg9d7hDnI/pub?w=394&h=369" width="80%" />
+ <img src="https://asterixdb.apache.org/img/flexible_data.png" width="80%" />
</div>
<div class="col-md-4 text-center">
<h3 id="architecture">Architecture</h3>
- <img src="https://docs.google.com/drawings/d/11X2RlI95SoWR5wLtnV7kG727uae6pbUPOnYjG9jm5c8/pub?w=720&h=364" width="100%" />
+ <img src="https://asterixdb.apache.org/img/nutshell_architecture.png" width="100%" />
</div>
</div>
@@ -156,7 +156,7 @@
<div class="col-md-6 text-center">
<h3 id="performance-highlights">Performance Highlights</h3>
-<a href="https://docs.google.com/spreadsheets/d/1PTtUUxijKWBS5CQU7lPEQEa7e8fp7n8Js0gq_tvittA/pubchart?oid=1652093339&format=image"><img src="https://docs.google.com/spreadsheets/d/1PTtUUxijKWBS5CQU7lPEQEa7e8fp7n8Js0gq_tvittA/pubchart?oid=1652093339&format=image" width="100%" /></a>
+<a href="https://docs.google.com/spreadsheets/d/1PTtUUxijKWBS5CQU7lPEQEa7e8fp7n8Js0gq_tvittA/pubchart?oid=1652093339&format=image"><img src="https://asterixdb.apache.org/img/pubchart.png" width="100%" /></a>
</div>
</div>
@@ -167,9 +167,9 @@
<div class="row">
<div class="col-md-6">
<h3 id="community-and-support">Community and Support</h3>
- <p>If you have any questions, please feel free to ask on our <a href="mailto:users@asterixdb.apache.org">users</a> mailing list, which you can subscribe to by sending an empty email to <a href="users-subscribe@asterixdb.apache.org">users-subscribe</a>. Check out the <a href="community.html">Community</a> page for more details.</p>
+ <p>If you have any questions, please feel free to ask on our <a href="mailto:users@asterixdb.apache.org">users</a> mailing list, which you can subscribe to by sending an empty email to <a href="users-subscribe@asterixdb.apache.org">users-subscribe</a>. Check out the <a href="https://asterixdb.apache.orgcommunity.html">Community</a> page for more details.</p>
- <p>If you would like to know more about how to contribute to AsterixDB or any of its related components, head on over to the <a href="dev-setup.html">Contributing</a> page to learn more.</p>
+ <p>If you would like to know more about how to contribute to AsterixDB or any of its related components, head on over to the <a href="https://asterixdb.apache.orgdev-setup.html">Contributing</a> page to learn more.</p>
</div>
<div class="col-md-6">
<h3 id="download">Download</h3>
@@ -200,7 +200,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
+ <script src="https://asterixdb.apache.org/js/jquery.min.js"></script>
+ <script src="https://asterixdb.apache.org/js/bootstrap.min.js"></script>
</body>
</html>