Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove heavy query on "head" partial #13696

Open
mattstratton opened this issue Feb 18, 2024 · 0 comments
Open

Remove heavy query on "head" partial #13696

mattstratton opened this issue Feb 18, 2024 · 0 comments
Assignees

Comments

@mattstratton
Copy link
Member

currently, partials/head.html is doing a data lookup to figure out the <title> element for each page. It does this to set the title according to the city, etc

It's a little heavy, and we should be able to just get it from the frontmatter (part of the issue is that the "Title" element in frontmatter is used as the heading on the actual page, and it probably shouldn't match what we want in the title element

I'm not sure this is an essential fix, but should be looked into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant