-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathbase-content.html
More file actions
49 lines (39 loc) · 1.82 KB
/
base-content.html
File metadata and controls
49 lines (39 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout: default
---
{% include home-header.html %}
<div class="base-content-wrapper">
<div class="col-lg-3 menu" tabindex="-1">
{% include support-side-menu.html %}
</div>
<div class='col-lg-9 col-md-12 col-sm-12 content{% if page.categories[0] == "support" and page.categories[1] == "contact-us" %} contact-us{% endif %}'>
{{ content }}
{% if page.categories[0] == "support" and page.categories[1] == "faq"%}
{% include partials/faq-apis.html %}
{% endif %}
{% if page.categories[0] == "support" and page.categories[1] != "contact-us" %}
<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/";
}
else this.page.url = document.URL || "http://developer.ticketmaster.com/";
this.page.identifier = "{{page.title}}";
};
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//ticketmasterapi.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
{% endif %}
</div>
</div>
<div id="footer" class="xs-center slice-top-left">
{% include partials/footer.html %}
</div>
<script src="{{"/scripts/components/support-side-menu.js" | prepend: site.baseurl }}"></script>
<script src="{{"/scripts/components/menu-highlight.js" | prepend: site.baseurl }}"></script>