Skip to content

Add Lato as a default font#706

Open
agriyakhetarpal wants to merge 1 commit intoscientific-python:mainfrom
agriyakhetarpal:lato-as-default-font
Open

Add Lato as a default font#706
agriyakhetarpal wants to merge 1 commit intoscientific-python:mainfrom
agriyakhetarpal:lato-as-default-font

Conversation

@agriyakhetarpal
Copy link
Member

@agriyakhetarpal agriyakhetarpal commented Feb 26, 2026

the fonts: section in the Hugo config is supposed to be for additional fonts that users want to include for whatever reason, but we've been relying on Lato for downstream websites and it makes sense to add it here. Also enables Noto Sans which was disabled for some reason (inadvertently, based on the incorrect comment?).

Closes #705

@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for scientific-python-hugo-theme ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e268097
🔍 Latest deploy log https://app.netlify.com/projects/scientific-python-hugo-theme/deploys/69a03e7b5186e50009b9e0ae
😎 Deploy Preview https://deploy-preview-706--scientific-python-hugo-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94
Accessibility: 97
Best Practices: 100
SEO: 91
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@agriyakhetarpal agriyakhetarpal added the type: Enhancement New feature or request label Feb 26, 2026
@agriyakhetarpal
Copy link
Member Author

agriyakhetarpal commented Feb 26, 2026

This is a little less bold than the other fallback font we have had, but arguably more correct.

See the difference at https://theme.scientific-python.org/ vs https://deploy-preview-706--scientific-python-hugo-theme.netlify.app/

@agriyakhetarpal agriyakhetarpal marked this pull request as draft February 26, 2026 12:42
@agriyakhetarpal
Copy link
Member Author

Checked all websites, seems to work fine!

@agriyakhetarpal agriyakhetarpal marked this pull request as ready for review February 26, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Lato font as a default font

1 participant