Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/gitcommit.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
info: prev_commit='922ea7b9fd662fcfd86703cb5eebd76a00d061ee' date=2017-01-28 00:38:33 +0200
info: prev_commit='82e267c76a706f96e424480cd92fcfe9a681f414' date=2017-02-06 15:39:58 +0200
6 changes: 5 additions & 1 deletion _layouts/api-explorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@

<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/base-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
<div id="disqus_thread" style="margin-top:50px;"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/documentation-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ <h4>{{ file.release_date | date_to_long_string }}</h4>{{ file.content | markdow
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ <h2 id="modal-title" class="modal-title"></h2>

<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/interactive-console.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
<div id="disqus_thread" class="col-xs-12"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
12 changes: 10 additions & 2 deletions _layouts/partners-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
<div id="disqus_thread" class="{% if page.categories[0] == 'partners' and page.categories[1] == 'distribution' %}col-sm-12{% endif %}"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand All @@ -47,7 +51,11 @@
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/tutorials-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ <h3 class="menu-header" id="aside-heading">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/widget-countdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ <h2>Widget: Keyword search</h2>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
6 changes: 5 additions & 1 deletion _layouts/widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ <h2>Widget: Keyword search</h2>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
Expand Down
4 changes: 4 additions & 0 deletions products-and-docs/sdks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ season tickets all in one trusted place.
<div id="disqus_thread" style="margin-top: 50px;"></div>
<script>
var disqus_config = function () {
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
this.page.url = document.URL || "http://developer.ticketmaster.com/";
// this.page.identifier = "{{page.title}}";
this.page.identifier = "http://developer.ticketmaster.com/products-and-docs/sdks/";
Expand Down
6 changes: 5 additions & 1 deletion scripts/components/discqus-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
var disqus_config = function () {
this.page.url = document.URL || "http://developer.ticketmaster.com/";
if (window.location.hostname != 'developer.ticketmaster.com') {
var pageURL = window.location.href.replace(window.location.host, 'developer.ticketmaster.com');
this.page.url = pageURL || "http://developer.ticketmaster.com/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};

Expand Down