feat: improve avatar quality and add customizable sizing options

Resolves #3123

## What Changed

**Avatar Quality Improvements:**
- Generate avatars at 2x resolution for crisp display on high-DPI screens
- Updated Hugo imaging config with quality: 90, lanczos resampling, and picture hint
- Improved WebP compression quality across all avatar locations

**New Customization Parameters:**
- Added design.avatar.size with 5 options: small (150px), medium (200px), large (320px), xl (400px), xxl (500px)
- Added design.avatar.shape with 3 options: circle (default), square, rounded
- Sizing aligned with 2025 social media standards (LinkedIn/X: 400px, Instagram: 320px, TikTok: 200px)

**Updated Templates:**
- Enhanced resume-biography.html and resume-biography-3.html with flexible parameter system
- Updated all starter templates (academic-cv, resume, blog, link-in-bio) with example configurations
- Improved avatar CSS for dynamic sizing control
This commit is contained in:
George Cushen committed 2025-08-18 02:43:55 +01:00
1 parent b90b1f245c
commit bec38c8759
19 files changed
+106 -34

No files matched your search

+28 -9
View File
@@ -1,14 +1,33 @@
blank_issues_enabled: false
contact_links:
- name: Questions
- name: 💬 Contributing chat (Discord)
url: https://discord.gg/z8wNYzb
about: Chat live with the Hugo Blox Builder community on Discord.
- name: Discussions
url: https://github.com/HugoBlox/hugo-blox-builder/discussions
about: Discuss Hugo Blox Builder on the GitHub Discussions forum
- name: Troubleshooting Guide
about: Ask quick questions in the Contributing channel and coordinate with Geo & contributors.
- name: 🧪 Troubleshooting Guide
url: https://docs.hugoblox.com/reference/troubleshooting/
about: Solve common issues fast.
- name: Documentation
about: Fix common issues fast and follow the reproducible-issue checklist before filing.
- name: 🏷️ Help-wanted issues (good first tasks)
url: https://github.com/HugoBlox/hugo-blox-builder/labels/help%20wanted
about: Pick a bite-sized task and open your first PR in minutes.
- name: 🧭 Contributing Guide
url: https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md
about: How we work, environment setup, style, and PR tips.
- name: 🧵 Discussions (Q&A, ideas)
url: https://github.com/HugoBlox/hugo-blox-builder/discussions
about: Ask for help, propose features, or share learnings.
- name: 📚 Documentation
url: https://docs.hugoblox.com/
about: Review the documentation
about: Explore all Hugo Blox docs, tutorials, and references.
- name: 💚 Support Hugo Blox (All Access)
url: https://hugoblox.com/all-access
about: Too busy to contribute? Support development and get lifetime template updates.
- name: 🫶 Sponsor on GitHub
url: https://github.com/sponsors/gcushen
about: Prefer monthly or one-time sponsorship via GitHub.