Skip to content

Commit

Permalink
commit to https for cdn.knightlab.com
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGermuska committed Jul 20, 2015
1 parent a631ce6 commit 4bc96c9
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion source/embed/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
if (trim_point > 0) {
var embed_path = window.location.href.substring(0,trim_point); // supports https access via https://s3.amazonaws.com/cdn.knightlab.com/libs/timeline/latest/embed/index.html
} else {
var embed_path = "//cdn.knightlab.com/libs/timeline/latest/";
var embed_path = "https://cdn.knightlab.com/libs/timeline/latest/";
}
</script>
<!-- build:js ../js/storyjs-embed-cdn.js?v214 -->
Expand Down
2 changes: 1 addition & 1 deletion website/templates/_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
font: 'NewsCycle-Merriweather',
};
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/_make.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h2 class="span1">4</h2>
<div class="span11">
<h4>Embed the code into your website</h4>
<p>Grab the embed code and paste it on your site where you want your TimelineJS to appear (just like a YouTube video).</p>
<textarea readonly="readonly" style="width: 100%; height: 160px; min-height: 110px; max-height: 300px; resize: none; font-family: Menlo,Monaco,'Courier New',monospace; font-size: 12px;" id="embed_code"><iframe src='//cdn.knightlab.com/libs/timeline/latest/embed/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&width=600&height=600' width='600' height='600' frameborder='0'></iframe></textarea><br><br>
<textarea readonly="readonly" style="width: 100%; height: 160px; min-height: 110px; max-height: 300px; resize: none; font-family: Menlo,Monaco,'Courier New',monospace; font-size: 12px;" id="embed_code"><iframe src='https://cdn.knightlab.com/libs/timeline/latest/embed/?source=0Agl_Dv6iEbDadHdKcHlHcTB5bzhvbF9iTWwyMmJHdkE&font=Bevan-PotanoSans&maptype=toner&width=600&height=600' width='600' height='600' frameborder='0'></iframe></textarea><br><br>
<p><a href="#preview-embed" data-scroll="true" id="iframe-preview-button" class="btn btn-primary">Preview</a>
<a href="#preview-embed" data-scroll="true" id="preview-embed-link" target="_blank" class="btn">Link to Preview</a></p>
</div>
Expand Down
8 changes: 4 additions & 4 deletions website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
meta name="viewport" content="initial-scale=1,width=device-width"
someone needs to go through Blueline and fix the small viewport CSS details before we can turn this on.
-->
<link rel="shortcut icon" href="//cdn.knightlab.com/libs/blueline/latest/assets/logos/favicon.ico">
<link rel="shortcut icon" href="https://cdn.knightlab.com/libs/blueline/latest/assets/logos/favicon.ico">
<link href="//cloud.webtype.com/css/d4767ecb-457a-4677-8761-72f890add836.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="//cdn.knightlab.com/libs/blueline/latest/css/blueline.min.css">
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/blueline/latest/css/blueline.min.css">
<link rel="stylesheet" type="text/css" href="{{ static_url }}/css/site.css">
<!-- Google Analytics: don't mess with this stuff -->
<!-- named tracker notes from https://developers.google.com/analytics/devguides/collection/gajs/ -->
Expand Down Expand Up @@ -138,13 +138,13 @@

{% block scripts %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//cdn.knightlab.com/libs/blueline/latest/js/blueline.min.js"></script>
<script src="https://cdn.knightlab.com/libs/blueline/latest/js/blueline.min.js"></script>

<!-- Override -->
<script type="text/javascript">
var generator_embed_path = "{{ generator_embed_path }}";
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js -->
<script type="text/javascript">
var generator_embed_path = "/source/embed/index.html";
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/houston/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'Bevan-PotanoSans'
}
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/republican/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'PT'
}
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/shit-people-say/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'Pacifico-Arimo'
}
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/user-interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'SansitaOne-Kameron'
}
</script>
<!-- build:js //cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<!-- build:js https://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down

0 comments on commit 4bc96c9

Please sign in to comment.