diff --git a/hugo-blox-builder.code-workspace b/hugo-blox-builder.code-workspace index 3c490a1c..0f69ff4e 100644 --- a/hugo-blox-builder.code-workspace +++ b/hugo-blox-builder.code-workspace @@ -36,7 +36,7 @@ "npm.packageManager": "pnpm", "editor.detectIndentation": false, "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.defaultFormatter": null, "editor.codeActionsOnSave": { "source.fixAll.biome": "explicit" }, @@ -45,58 +45,66 @@ "[typescript]": { "editor.defaultFormatter": "biomejs.biome" }, "[json]": { "editor.defaultFormatter": "biomejs.biome" }, "[css]": { "editor.defaultFormatter": "biomejs.biome" }, - "[html]": { - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.formatOnSave": true - }, "[markdown]": { - "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.defaultFormatter": "prettier.prettier-vscode", "files.trimTrailingWhitespace": false }, "[python]": { "editor.tabSize": 4, - "editor.insertSpaces": true + "editor.insertSpaces": true, + "editor.defaultFormatter": "charliermarsh.ruff" }, "[yaml]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "prettier.prettier-vscode" }, "[toml]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" + "editor.defaultFormatter": "prettier.prettier-vscode" }, - - "eslint.workingDirectories": [{ "mode": "auto" }], - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact" + "files.associations": { + "**/layouts/**/*.html": "hugo", + "**/layouts/**/*.htm": "hugo", + "modules/**/*.html": "hugo", + "modules/**/*.htm": "hugo", + "templates/**/*.html": "hugo", + "templates/**/*.htm": "hugo", + "test/**/*.html": "hugo", + "test/**/*.htm": "hugo" + }, + "[hugo]": { + "editor.formatOnSave": false, + "editor.defaultFormatter": null + }, + "emmet.excludeLanguages": [ + "hugo" ], - + "html.format.enable": true, + "biome.formatter.enabled": false, "tailwindCSS.emmetCompletions": true, - + "tailwindCSS.includeLanguages": { + "hugo": "html" + }, + "tailwindCSS.experimental.classRegex": [ + ":class\\s*=\\s*\"([^\"]*)\"", + "x-bind:class\\s*=\\s*\"([^\"]*)\"" + ], "yaml.validate": true, - "prettier.useEditorConfig": true + + "[html]": { + "editor.defaultFormatter": "prettier.prettier-vscode", + "editor.formatOnSave": true + } }, "extensions": { "recommendations": [ - "dbaeumer.vscode-eslint", - "esbenp.prettier-vscode", - "bradlc.vscode-tailwindcss", "redhat.vscode-yaml", - "tamasfe.even-better-toml", "DavidAnson.vscode-markdownlint", - "ms-python.python", - "charliermarsh.ruff", - "streetsidesoftware.code-spell-checker", "mikestead.dotenv", "eamodio.gitlens", - "bierner.markdown-mermaid", - "EditorConfig.EditorConfig", "biomejs.biome", - "github.vscode-github-actions", - "timonwong.shellcheck", - "budparr.language-hugo-vscode" + "prettier.prettier-vscode", + "charliermarsh.ruff", + "bradlc.vscode-tailwindcss" ] } } diff --git a/modules/blox-tailwind/blox/resume-biography-3/block.html b/modules/blox-tailwind/blox/resume-biography-3/block.html index ea5ff1fc..2ba608d1 100644 --- a/modules/blox-tailwind/blox/resume-biography-3/block.html +++ b/modules/blox-tailwind/blox/resume-biography-3/block.html @@ -71,14 +71,14 @@ {{/* Avatar */}} {{ if $avatar }} -
+
{{ $avatar_image := $avatar.Fill (printf "%sx%s Center" $generation_size $generation_size) }} {{$profile.title}} + style="width: {{$display_size}}px; height: {{$display_size}}px; object-fit: cover;"> {{with $profile.status.icon}}{{.|emojify}}{{end}}
{{ end }} diff --git a/modules/blox-tailwind/blox/resume-experience/block.html b/modules/blox-tailwind/blox/resume-experience/block.html index 2767081f..e5d1ac61 100644 --- a/modules/blox-tailwind/blox/resume-experience/block.html +++ b/modules/blox-tailwind/blox/resume-experience/block.html @@ -58,7 +58,7 @@ {{ with .icon }} {{ partial "functions/get_icon" (dict "name" . "attributes" "class='w-4 h-4'") }} {{ end }} - {{ .text | default (i18n "learn_more" | default "Learn more") }} + {{ .text | default "Learn more" }} {{ end }} @@ -104,7 +104,7 @@ {{ with .icon }} {{ partial "functions/get_icon" (dict "name" . "attributes" "class='w-4 h-4'") }} {{ end }} - {{ .text | default (i18n "learn_more" | default "Learn more") }} + {{ .text | default "Learn more" }} {{ end }} diff --git a/templates/academic-cv/content/_index.md b/templates/academic-cv/content/_index.md index cf4c56ff..8301fcdd 100644 --- a/templates/academic-cv/content/_index.md +++ b/templates/academic-cv/content/_index.md @@ -30,7 +30,7 @@ sections: # Name heading sizing to accommodate long or short names name: - size: balanced # Options: compact (long names), balanced (default), display (short names) + size: compact # Options: compact (long names), balanced (default), display (short names) # Avatar customization avatar: diff --git a/templates/academic-cv/data/authors/me.yaml b/templates/academic-cv/data/authors/me.yaml index 563f2368..76f48ac9 100644 --- a/templates/academic-cv/data/authors/me.yaml +++ b/templates/academic-cv/data/authors/me.yaml @@ -85,7 +85,7 @@ experience: skills: - name: Technical Skills items: - - label: Pytho + - label: Python level: 5 - label: Machine Learning level: 5 diff --git a/templates/blog/hugo-blox/blox/all-access/README.md b/templates/blog/hugo-blox/blox/all-access/README.md deleted file mode 100644 index 42cbda7d..00000000 --- a/templates/blog/hugo-blox/blox/all-access/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Hugo Blox Builder: All Access - -Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! - -Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! - -Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/blog/hugo-blox/blox/community/README.md b/templates/blog/hugo-blox/blox/community/README.md deleted file mode 100644 index f77979b5..00000000 --- a/templates/blog/hugo-blox/blox/community/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hugo Blox Builder: Community Blox - -Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). - -Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/documentation/hugo-blox/blox/all-access/README.md b/templates/documentation/hugo-blox/blox/all-access/README.md deleted file mode 100644 index 42cbda7d..00000000 --- a/templates/documentation/hugo-blox/blox/all-access/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Hugo Blox Builder: All Access - -Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! - -Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! - -Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/documentation/hugo-blox/blox/community/README.md b/templates/documentation/hugo-blox/blox/community/README.md deleted file mode 100644 index f77979b5..00000000 --- a/templates/documentation/hugo-blox/blox/community/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hugo Blox Builder: Community Blox - -Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). - -Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/landing-page/hugo-blox/blox/all-access/README.md b/templates/landing-page/hugo-blox/blox/all-access/README.md deleted file mode 100644 index 42cbda7d..00000000 --- a/templates/landing-page/hugo-blox/blox/all-access/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Hugo Blox Builder: All Access - -Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! - -Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! - -Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/landing-page/hugo-blox/blox/community/README.md b/templates/landing-page/hugo-blox/blox/community/README.md deleted file mode 100644 index f77979b5..00000000 --- a/templates/landing-page/hugo-blox/blox/community/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hugo Blox Builder: Community Blox - -Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). - -Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/link-in-bio/hugo-blox/blox/all-access/README.md b/templates/link-in-bio/hugo-blox/blox/all-access/README.md deleted file mode 100644 index 42cbda7d..00000000 --- a/templates/link-in-bio/hugo-blox/blox/all-access/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Hugo Blox Builder: All Access - -Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! - -Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! - -Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/link-in-bio/hugo-blox/blox/community/README.md b/templates/link-in-bio/hugo-blox/blox/community/README.md deleted file mode 100644 index f77979b5..00000000 --- a/templates/link-in-bio/hugo-blox/blox/community/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hugo Blox Builder: Community Blox - -Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). - -Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/resume/hugo-blox/blox/all-access/README.md b/templates/resume/hugo-blox/blox/all-access/README.md deleted file mode 100644 index 42cbda7d..00000000 --- a/templates/resume/hugo-blox/blox/all-access/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Hugo Blox Builder: All Access - -Elevate your web projects with [All Access](https://hugoblox.com/sponsor/), our premium Tailwind blox collection! - -Get access to a diverse range of professionally designed, responsive components — from sleek pricing sections to interactive forms. Save time with our ready-to-use blox, fully customizable to fit your brand, and focus on creating unique features that set your website apart. Optimize your development process and enhance your designs effortlessly with our Tailwind blox! - -Upload All Access blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). diff --git a/templates/resume/hugo-blox/blox/community/README.md b/templates/resume/hugo-blox/blox/community/README.md deleted file mode 100644 index f77979b5..00000000 --- a/templates/resume/hugo-blox/blox/community/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hugo Blox Builder: Community Blox - -Upload custom or community Hugo Blox to this folder and they will be automatically installed to your site, [ready for use in your pages](https://docs.hugoblox.com/getting-started/page-builder/). - -Creating your own blox? [Follow the step-by-step tutorial](https://docs.hugoblox.com/getting-started/page-builder/).