Skip to content

Commit

Permalink
Integrate EthicalAds
Browse files Browse the repository at this point in the history
  • Loading branch information
jhildenbiddle committed Jul 29, 2022
1 parent 68f5a80 commit 5a6fcda
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,24 @@
<body>
<div id="app"></div>

<!-- JavaScript -->
<style>
/* docsify-plugin-ethicalads (temporary) */
:root {
--ea-sidebar-inset: var(--sidebar-width);
--ea-sidebar-toggle-inset: 0;
}

.sidebar {
--ea-background: hsl(var(--mono-hue), var(--mono-saturation), 94%);
--ea-callout-background: hsl(var(--mono-hue), var(--mono-saturation), 89%);
--ea-margin: 1em 0 0 0;
}

.sidebar [data-ea-publisher][class].flat {
--ea-margin: 0 -25px;
}
</style>

<script>
// Docsify
window.$docsify = {
Expand All @@ -35,6 +52,9 @@

// PLUGINS
// -----------------------------------------------------------------
ethicalAds: {
eaPublisher: 'jhildenbiddle-github-io'
},
executeScript: true,
ga : 'UA-100100910-5',
search: {
Expand All @@ -46,6 +66,7 @@
</script>
<script src="https://cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-plugin-ethicalads@1"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-copy-code@2"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/plugins/external-script.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/plugins/ga.min.js"></script>
Expand Down

0 comments on commit 5a6fcda

Please sign in to comment.