Skip to content

Commit

Permalink
docs(site): clean up ads test
Browse files Browse the repository at this point in the history
  • Loading branch information
krisk committed Jan 5, 2021
1 parent e3278cf commit e483bfb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
15 changes: 14 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,23 @@ function getHead() {
}
].map(({ name, content }) => ['meta', { name, content }])

const scripts = [
`
(function(){
var bsa_optimize=document.createElement('script');
bsa_optimize.type='text/javascript';
bsa_optimize.async=true;
bsa_optimize.src='https://cdn4.buysellads.net/pub/fusejs.js?'+(new Date()-new Date()%600000);
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa_optimize);
})();
`
].map((content) => ['script', {}, content])

return [
...appleTouchIcons,
...sizedIcons,
...meta,
['link', { rel: 'manifest', href: '/icons/manifest.json' }]
['link', { rel: 'manifest', href: '/icons/manifest.json' }],
...scripts
]
}
14 changes: 0 additions & 14 deletions docs/.vuepress/theme/layouts/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
;(adsbygoogle = window.adsbygoogle || []).push({})
</script>
</div> -->
<script>
;(function () {
var bsa_optimize = document.createElement('script')
bsa_optimize.type = 'text/javascript'
bsa_optimize.async = true
bsa_optimize.src =
'https://cdn4.buysellads.net/pub/fusejs.js?' +
(new Date() - (new Date() % 600000))
;(
document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]
).appendChild(bsa_optimize)
})()
</script>
</template>
<!-- <template #sidebar-bottom>
<Donate />
Expand Down
3 changes: 3 additions & 0 deletions docs/test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Testing

<div id="bsa-zone_1607098756727-6_123456"></div>

0 comments on commit e483bfb

Please sign in to comment.