PythonIreland / PythonIreland/2026.pycon.ie
Optimise logo: move to assets/, resize to 64×64 WebP
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 1
Description
Problem
/static/img/logo.png is a 1024×1024 PNG at 127 KB. It is displayed at 32×32 pixels (h-8 w-8 via Tailwind). This is a 1024:1 pixel-area overserve — 97% of the image data is discarded by the browser.
Fix
Move the logo from static/img/ to assets/img/ so Hugo can process it:
```html
{{ $logo := resources.Get "img/logo.png" }}
{{ $logo32 := $logo.Resize "64x webp" }}
```
A 64×64 WebP (2× for retina) will be ~2–4 KB versus 127 KB — a ~97% reduction.
Files to change
- Move
static/img/logo.png→assets/img/logo.png - Update
layouts/partials/nav.htmlandlayouts/partials/footer.html
Note: also update the
Organizationschema instructured-data.htmlwhich references the logo URL.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading layouts/partials/nav.html, layouts/partials/footer.html, and structured-data.html, then inspect how Hugo resources are used in the site. Move the asset as specified and verify the generated navigation, footer, and Organization schema reference the processed 64×64 WebP logo rather than the original PNG.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, hugo, tailwind
- Domain
- performance, web-dev
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100