Skip to content

Commit

Permalink
Fix CSS by cleaning it up
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate committed Oct 23, 2023
1 parent 4dced7d commit b739901
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@
{{ end }}
{{ end }}

<!-- Custom CSS handled here -->
{{ range .Site.Params.customCSS -}}
<link rel="stylesheet" href="{{ . | absURL }}">
{{- end }}

<!-- Icons -->
{{- partial "favicons.html" . }}

Expand Down

0 comments on commit b739901

Please sign in to comment.