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
12 changes: 12 additions & 0 deletions homepage/views/head.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ link(rel="stylesheet" href="/homepage/assets/styles.css")
link(rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css")
link(rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atelier-dune-dark.min.css")
script(async src="https://www.googletagmanager.com/gtag/js?id=UA-68472312-3")
script.
(function() {
var zi = document.createElement('script');
zi.type = 'text/javascript';
zi.async = true;
zi.referrerPolicy = 'unsafe-url';
zi.src = 'https://ws.zoominfo.com/pixel/62deaa3ca807b3008e29742d';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(zi, s);
})();
noscript
img(src="https://ws.zoominfo.com/pixel/62deaa3ca807b3008e29742d" width="1" height="1" style="display: none;" alt="websights")
script.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"pug": "^2.0.4",
"querystring": "^0.2.0",
"request": "^2.88.0",
"node-sass": "^4.14.1",
"swiftype": "^0.4.0"
}
}
8 changes: 4 additions & 4 deletions scripts/resources/client_libraries.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fs = require('fs');
var ejs = require('ejs');
var version = 'v19.3.0';
var version = 'latest';
const MARKDOWN_DIR = __dirname + '/../../markdown';
const TARGET = process.env.TARGET_API || 'ovp';
const CLIENT_LANGS = {
Expand All @@ -11,7 +11,7 @@ const CLIENT_LANGS = {
'Csharp': 'csharp',
'Ruby': 'ruby',
'Python': 'python',
'NodeJS': 'nodejs',
'NodeJS': 'node',
'AJAX': 'ajax',
'CLI': 'cli',
'Android': 'android',
Expand All @@ -29,12 +29,12 @@ if (TARGET === 'ott'){
if(process.env.OVP_API_VERSION) {
version = process.env.OVP_API_VERSION;
}
baserepo_url='https://github.com/kaltura/KalturaGeneratedAPIClients';
baserepo_url='https://static.kaltura.com/web-clients/';
}
var clientMD = '';
var idx=0;
for (var cl in CLIENT_LANGS){
var link = baserepo_url + cl+'/archive/'+ version+'.tar.gz'
var link = baserepo_url + version + "/" + cl +'.tar.gz'
let offset = idx * -71;
clientMD += `<a class="client-lib-link ${CLIENT_LANGS[cl]}" data-language="${CLIENT_LANGS[cl]}" href="${link}" style="background-position: ${offset}px"></a>`;
idx++;
Expand Down
33 changes: 29 additions & 4 deletions templates/head.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-68472312-3"></script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-68472312-3"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag('config', 'UA-68472312-3');
gtag("config", "UA-68472312-3");
</script>
<script>
(function () {
var zi = document.createElement("script");
zi.type = "text/javascript";
zi.async = true;
zi.referrerPolicy = "unsafe-url";
zi.src = "https://ws.zoominfo.com/pixel/62deaa3ca807b3008e29742d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(zi, s);
})();
</script>
<noscript>
<img
src="https://ws.zoominfo.com/pixel/62deaa3ca807b3008e29742d"
width="1"
height="1"
style="display: none"
alt="websights"
/>
</noscript>