From 251b037007a962596dfe44e0afce7cf50ded606a Mon Sep 17 00:00:00 2001 From: "pico.dev" Date: Sat, 13 Jan 2024 00:47:19 +0100 Subject: [PATCH] Remove Google AdSense --- .github/workflows/alis-site-deploy.yml | 2 +- site/config.yaml | 12 ++++++------ site/server.sh | 2 +- site/themes/alis/layouts/partials/ad-sidebar.html | 4 +++- site/themes/alis/layouts/partials/javascript.html | 6 +++++- site/themes/alis/layouts/shortcodes/ad-bilboard.html | 4 +++- 6 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/alis-site-deploy.yml b/.github/workflows/alis-site-deploy.yml index 424889a1..99a671e9 100644 --- a/.github/workflows/alis-site-deploy.yml +++ b/.github/workflows/alis-site-deploy.yml @@ -7,7 +7,7 @@ jobs: deploy: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.97.3 + HUGO_VERSION: 0.121.1 steps: - uses: actions/checkout@v2 with: diff --git a/site/config.yaml b/site/config.yaml index 0f9b183a..4eec7aac 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -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 @@ -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 @@ -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] diff --git a/site/server.sh b/site/server.sh index 67eae853..f7c8c432 100755 --- a/site/server.sh +++ b/site/server.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -hugo server --buildDrafts --buildFuture --watch --disableLiveReload +hugo server --buildDrafts --buildFuture --watch --disableLiveReload --gc diff --git a/site/themes/alis/layouts/partials/ad-sidebar.html b/site/themes/alis/layouts/partials/ad-sidebar.html index fa3052b9..535e76b9 100644 --- a/site/themes/alis/layouts/partials/ad-sidebar.html +++ b/site/themes/alis/layouts/partials/ad-sidebar.html @@ -1,3 +1,4 @@ + \ No newline at end of file diff --git a/site/themes/alis/layouts/partials/javascript.html b/site/themes/alis/layouts/partials/javascript.html index c6d81843..a3db72fe 100644 --- a/site/themes/alis/layouts/partials/javascript.html +++ b/site/themes/alis/layouts/partials/javascript.html @@ -1,13 +1,17 @@ + + \ No newline at end of file diff --git a/site/themes/alis/layouts/shortcodes/ad-bilboard.html b/site/themes/alis/layouts/shortcodes/ad-bilboard.html index a80eb779..a39314a3 100644 --- a/site/themes/alis/layouts/shortcodes/ad-bilboard.html +++ b/site/themes/alis/layouts/shortcodes/ad-bilboard.html @@ -1,3 +1,4 @@ + \ No newline at end of file