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

Ensure every site configures markup #1274

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Ensure every site configures markup #1274

wants to merge 2 commits into from

Conversation

illicitonion
Copy link
Member

This avoids needing to notice and play whack-a-mole when things aren't
configured as we expect.

Also, add a --fix mode which will try to fix things for you.

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-curriculum canceled.

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-curriculum/deploys/67727e8b114efb0008c7ba9e

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-common ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-common/deploys/67727e8b2c5c3e0008f6c630
😎 Deploy Preview https://deploy-preview-1274--cyf-common.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-sdc ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-sdc/deploys/67727e8bf6e23600085cd83f
😎 Deploy Preview https://deploy-preview-1274--cyf-sdc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-programming ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-programming/deploys/67727e8ba4fdff0008e63a3b
😎 Deploy Preview https://deploy-preview-1274--cyf-programming.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: 96 (🔴 down 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-launch ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-launch/deploys/67727e8b79f1ff00089e6312
😎 Deploy Preview https://deploy-preview-1274--cyf-launch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-tracks ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-tracks/deploys/67727e8b1fda16000817ff27
😎 Deploy Preview https://deploy-preview-1274--cyf-tracks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

This avoids needing to notice and play whack-a-mole when things aren't
configured as we expect.

Also, add a --fix mode which will try to fix things for you.
Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-itd ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-itd/deploys/67727e8b09e7bc0008874fec
😎 Deploy Preview https://deploy-preview-1274--cyf-itd.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: 100 (🟢 up 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-piscine ready!

Name Link
🔨 Latest commit 0ed8841
🔍 Latest deploy log https://app.netlify.com/sites/cyf-piscine/deploys/67727e1be41dee00087844da
😎 Deploy Preview https://deploy-preview-1274--cyf-piscine.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: 90 (🟢 up 5 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for cyf-piscine ready!

Name Link
🔨 Latest commit 4073615
🔍 Latest deploy log https://app.netlify.com/sites/cyf-piscine/deploys/67727e8b0d5b8a00081957d6
😎 Deploy Preview https://deploy-preview-1274--cyf-piscine.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: 78 (🔴 down 7 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Copy link
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this. I do want this - but before we require it, can we check what can be inherited?

I'm not sure we do need to copy pasta as much config as we currently do, so would like to not bake that in (except the necessary). Can you read over this and have a think?

https://gohugo.io/getting-started/configuration/#configure-page

@@ -63,20 +63,24 @@ maxAge="6h"
getenv = ["^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$"]


theme = "common-theme"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually don't think we need to declare common theme any more if we're importing the module btw

@@ -24,17 +24,22 @@ baseURL = "https://sdc.codeyourfuture.io/"
[params]
googleFonts="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@400;600&display=swap"

#this makes the section nav go the right way
# because of this 'unexpected behaviour' https://gohugo.io/methods/page/nextinsection/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this one not be inherited from theme?

Actually maybe this should be tidied up a bit more. What can we inherit from org-cyf-theme module?

https://gohugo.io/getting-started/configuration/#configure-page

@SallyMcGrath SallyMcGrath added this to the Feature Future milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

2 participants