bulma/docs/_includes/global/scripts.html

52 lines
1.7 KiB
HTML
Raw Normal View History

2018-01-19 16:54:05 +00:00
<script src="{{ site.url }}/vendor/clipboard-1.7.1.min.js"></script>
2018-03-26 14:33:31 +00:00
<script src="{{ site.url }}/vendor/js.cookie-2.1.4.min.js"></script>
<script src="{{ site.url }}/vendor/cupcakes-3.1.0.min.js"></script>
2018-01-19 16:54:05 +00:00
<script src="{{ site.url }}/lib/main.js?v={{ site.time | date: '%Y%m%d%H%M' }}"></script>
{% if page.route == 'index' %}
2018-04-10 14:38:50 +00:00
<script src="https://player.vimeo.com/api/player.js" ></script>
2018-01-19 16:54:05 +00:00
<script type="text/javascript" src="{{ site.url }}/lib/index.js?v={{ site.time | date: '%Y%m%d%H%M' }}"></script>
2018-04-10 14:38:50 +00:00
<script>
2018-04-11 00:38:07 +00:00
WebFontConfig = {
2018-04-10 14:38:50 +00:00
google: {
families: ['Nunito:400,700']
}
2018-04-11 00:38:07 +00:00
};
2018-04-10 14:38:50 +00:00
(function(d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
2018-01-19 16:54:05 +00:00
{% endif %}
{% if page.layout == 'documentation' %}
<script src="{{ site.url }}/lib/docs.js?v={{ site.time | date: '%Y%m%d%H%M' }}"></script>
{% endif %}
2018-01-19 16:54:05 +00:00
{% if page.doc-subtab == 'start' %}
<script src="{{ site.url }}/lib/start.js?v={{ site.time | date: '%Y%m%d%H%M' }}"></script>
{% endif %}
2018-01-19 16:54:05 +00:00
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: 'cb93c14bebd90678e789c946d95ea94d',
indexName: 'bulma',
inputSelector: '#algoliaSearch',
debug: false // Set debug to true if you want to inspect the dropdown
});
2018-01-19 16:54:05 +00:00
</script>
<script>
window.addEventListener("load", function(){
window.cupcakeconsent.initialise({
"content": {
"message": "Just so you know, this website uses cookies.",
"dismiss": "<span>👍</span> Got it!",
"link": "What are cookies?"
}
})});
</script>