Skip to content

Commit

Permalink
Remove Google AdSense
Browse files Browse the repository at this point in the history
  • Loading branch information
picodotdev committed Jan 12, 2024
1 parent bc0738b commit f0448e3
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions site/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,11 @@ baseURL: https://picodotdev.github.io/alis/
languageCode: "en"
defaultContentLanguage: "en"
metadataformat: "yaml"
timeout: 360000"
timeout: 360000
theme: "alis"

author:
name: "picodotdev"
description: "Ingeniero de software. I ♥ Java, GNU/Linux and libre software."

disableKinds:
- taxonomy
- taxonomyTerm

markup:
defaultMarkdownHandler: goldmark
Expand All @@ -32,6 +27,8 @@ pygmentsUseClasses: true
pygmentsOptions: linenos=table,linenostart=1
pygmentsStyle: github

copyright: https://creativecommons.org/licenses/by-sa/4.0/

imaging:
resampleFilter: "box"
quality: 90
Expand Down Expand Up @@ -72,6 +69,9 @@ menu:

params:
description: "A simple powerful Bash based script for an unattended, easy and fast way to install Arch Linux. Developed from many Arch Linux Wiki pages that fully automates the installation of a Arch Linux system after booting from the original Arch Linux installation media."
author:
name: "picodotdev"
description: "I ♥ Java, GNU/Linux and libre software."
font:
name: "Open Sans"
sizes: [400,600]
2 changes: 1 addition & 1 deletion site/server.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
hugo server --buildDrafts --buildFuture --watch --disableLiveReload
hugo server --buildDrafts --buildFuture --watch --disableLiveReload --gc
4 changes: 3 additions & 1 deletion site/themes/alis/layouts/partials/ad-sidebar.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--
<div class="adsense adsense-vertical">
<ins class="adsbygoogle"
style="display:block"
Expand All @@ -8,4 +9,5 @@
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</script>
-->
6 changes: 5 additions & 1 deletion site/themes/alis/layouts/partials/javascript.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>

<!-- Google AdSense -->
<!--
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3533636310991304" crossorigin="anonymous"></script>
-->

<!-- Global site tag (gtag.js) - Google Analytics -->
<!--
<script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=G-71D7PJB4PJ" async></script>
<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-71D7PJB4PJ');
</script>
</script>
-->
4 changes: 3 additions & 1 deletion site/themes/alis/layouts/shortcodes/ad-bilboard.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--
<div class="adsense adsense-bilboard">
<ins class="adsbygoogle"
style="display:block"
Expand All @@ -8,4 +9,5 @@
</div>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</script>
-->

0 comments on commit f0448e3

Please sign in to comment.