Skip to content

Remove post-hero block and some more-hero block #50330

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SayakMukhopadhyay
Copy link
Member

Description

This PR removes some template blocks that are not required anymore.

  • post-hero block is removed from _default/baseof.html as its an empty block and is not defined anywhere else.
  • hero-more is removed from blog/baseof.html and docs/baseof.html as they are empty blocks and not defined anywhere else.
  • hero-more definition is removed from docs/single.html as that block is only applicable when .IsHome is true but it's never true for any content applicable for the docs/single layout.

Issue

Closes: #50317

Helps with #41171

/area web-development
/kind cleanup
/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/docs Categorizes an issue or PR as relevant to SIG Docs. labels Mar 30, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign salaxander for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 30, 2025
Copy link

netlify bot commented Mar 30, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit baabab8
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/67ffa319d3a80c0008bdb30b
😎 Deploy Preview https://deploy-preview-50330--kubernetes-io-main-staging.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.

@SayakMukhopadhyay SayakMukhopadhyay force-pushed the hero-rework branch 3 times, most recently from 3a0e3ed to 9b98849 Compare April 16, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reworking page titles and hero elements
2 participants