diff --git a/homepage/views/head.pug b/homepage/views/head.pug index ba9e977c..1c3353d0 100644 --- a/homepage/views/head.pug +++ b/homepage/views/head.pug @@ -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);} diff --git a/package.json b/package.json index 00a6da49..fb177d14 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/scripts/resources/client_libraries.js b/scripts/resources/client_libraries.js index f3106334..0948858a 100644 --- a/scripts/resources/client_libraries.js +++ b/scripts/resources/client_libraries.js @@ -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 = { @@ -11,7 +11,7 @@ const CLIENT_LANGS = { 'Csharp': 'csharp', 'Ruby': 'ruby', 'Python': 'python', - 'NodeJS': 'nodejs', + 'NodeJS': 'node', 'AJAX': 'ajax', 'CLI': 'cli', 'Android': 'android', @@ -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 += ``; idx++; diff --git a/templates/head.html b/templates/head.html index e2a17f12..417df29a 100644 --- a/templates/head.html +++ b/templates/head.html @@ -1,8 +1,33 @@ - + + +