1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +02:00

Migrate website to Docusaurus

https://docusaurus.io/
This commit is contained in:
Andrey Nering
2022-05-29 14:15:01 -03:00
parent f4d5abfc5b
commit 5024d270ec
40 changed files with 8813 additions and 582 deletions

24
docs/static/js/carbon.js vendored Normal file
View File

@@ -0,0 +1,24 @@
(function () {
function attachAd() {
const el = document.createElement('script');
el.setAttribute('type', 'text/javascript');
el.setAttribute('id', '_carbonads_js');
el.setAttribute(
'src',
'//cdn.carbonads.com/carbon.js?serve=CESI65QJ&placement=taskfiledev'
);
el.setAttribute('async', 'async');
const wrapper = document.getElementById('sidebar-ads');
wrapper.innerHTML = '';
wrapper.appendChild(el);
}
setTimeout(function () {
attachAd();
window.addEventListener('popstate', function () {
attachAd();
});
}, 1000);
})();