From b73990185bea7b9a08a1cf0640d863f26dcdd7a8 Mon Sep 17 00:00:00 2001 From: PiX <69745008+pixincreate@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:11:49 +0530 Subject: [PATCH] Fix CSS by cleaning it up --- .github/workflows/pr-preview.yml | 3 +-- config/_default/hugo.toml | 2 +- layouts/partials/head.html | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 3574d28..a9b25da 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -57,8 +57,7 @@ jobs: hugo \ --gc \ --minify \ - --environment "${HUGO_ENVIRONMENT}" \ - --baseURL "${{ steps.pages.outputs.base_url }}" + --environment "${HUGO_ENVIRONMENT}" - name: Upload artifact uses: actions/upload-pages-artifact@v1 diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 91354ee..2a109ae 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -37,7 +37,7 @@ description = "pixincreate's website" keywords = "blog, homepage, portfolio, resume" images = [""] -customCSS = ["css/custom.css"] +custom_css = ["css/custom.css"] [[languages.en.params.social]] name = "github" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b4f10eb..d1b16b1 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -35,11 +35,6 @@ {{ end }} {{ end }} - -{{ range .Site.Params.customCSS -}} - -{{- end }} - {{- partial "favicons.html" . }}