Skip to content

Commit

Permalink
Update dataset site template (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
openactive-bot authored Jul 15, 2022
1 parent 601d486 commit 81f9d1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/datasetsite-csp.mustache
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE HTML>
<!--
OpenActive Dataset Site Template version 1.0.18, from https://unpkg.com/@openactive/dataset-site-template@1.0.18/dist/datasetsite-csp.mustache
OpenActive Dataset Site Template version 6, from https://unpkg.com/@openactive/dataset-site-template@6.0.0/dist/datasetsite-csp.mustache
This HTML file must reference a self-hosted 'datasetsite.styles.v1.0.18.css' file, co-located with the rest
This HTML file must reference a self-hosted 'datasetsite.styles.v6.css' file, co-located with the rest
of the static assets from the following archive:
https://unpkg.com/@openactive/dataset-site-template@1.0.18/dist/datasetsite-csp.static.zip
https://unpkg.com/@openactive/dataset-site-template@6.0.0/dist/datasetsite-csp.static.zip
-->
<!--
Design: Identity by HTML5 UP
Expand Down Expand Up @@ -47,21 +47,21 @@
</script>

<!--
This stylesheet href must reference a self-hosted 'datasetsite.styles.v1.0.18.css' file in
This stylesheet href must reference a self-hosted 'datasetsite.styles.v6.css' file in
the same directory as the other static assets sourced from the following archive:
https://unpkg.com/@openactive/dataset-site-template@1.0.18/dist/datasetsite-csp.static.zip
https://unpkg.com/@openactive/dataset-site-template@6.0.0/dist/datasetsite-csp.static.zip
-->
<link rel="stylesheet" href="{{{staticAssetsPathUrl}}}/datasetsite.styles.v1.0.18.css" crossorigin="anonymous">
<link rel="stylesheet" href="{{{staticAssetsPathUrl}}}/datasetsite.styles.v6.css" crossorigin="anonymous">

</head>
<body id="booking" background="{{backgroundImage.url}}">
<table class="always-hidden" bgcolor="#FFFFFF" width="100%" height="500px"><tr><td align="center">
<p></p>
<p><large><strong>Error: Static Assets Not Found</strong><large></p>
<p>This HTML page must reference self-hosted static assets located at the relative or absolute path configured by "staticAssetsPathUrl" in the mustache template source data.</p>
<p>"staticAssetsPathUrl" is currently set to "{{staticAssetsPathUrl}}", and this page has failed to access this file: <pre>{{staticAssetsPathUrl}}/datasetsite.styles.v1.0.18.css</pre></p>
<p>"staticAssetsPathUrl" is currently set to "{{staticAssetsPathUrl}}", and this page has failed to access this file: <pre>{{staticAssetsPathUrl}}/datasetsite.styles.v6.css</pre></p>
<p>Please ensure that the assets at this location exactly match those in
<a href="https://unpkg.com/@openactive/dataset-site-template@1.0.18/dist/datasetsite-csp.static.zip">datasetsite-csp.static.zip version 1.0.18</a>.</p>
<a href="https://unpkg.com/@openactive/dataset-site-template@6.0.0/dist/datasetsite-csp.static.zip">datasetsite-csp.static.zip version 6</a>.</p>
<p></p>
<p>See the <a href="https://github.com/openactive/dataset-site-template">"CSP compatible template" documentation</a> for more information</p>
<p></p>
Expand Down
Binary file modified src/datasetsite-csp.static.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/datasetsite.mustache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<!--
OpenActive Dataset Site Template version 1.0.18, from https://unpkg.com/@openactive/dataset-site-template@1.0.18/dist/datasetsite.mustache
OpenActive Dataset Site Template version 6, from https://unpkg.com/@openactive/dataset-site-template@6.0.0/dist/datasetsite.mustache
-->
<!--
Design: Identity by HTML5 UP
Expand Down

0 comments on commit 81f9d1c

Please sign in to comment.