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

Exclude paginated pages in sitemap #2555

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Exclude paginated pages in sitemap #2555

merged 1 commit into from
Aug 26, 2024

Conversation

pranitbauva1997
Copy link

This fixes #2527. @Keats, Can you please have a look at this and suggest improvements?

IMPORTANT: Please do not create a Pull Request adding a new feature without discussing it first.

The place to discuss new features is the forum: https://zola.discourse.group/
If you want to add a new feature, please open a thread there first in the feature requests section.

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)?

@pranitbauva1997 pranitbauva1997 changed the title Feature/ignore pagination in sitemap Exclude paginated pages in sitemap Jun 28, 2024
components/config/src/config/mod.rs Outdated Show resolved Hide resolved
docs/content/documentation/templates/pagination.md Outdated Show resolved Hide resolved
docs/content/documentation/templates/pagination.md Outdated Show resolved Hide resolved
@pranitbauva1997 pranitbauva1997 requested a review from Keats July 19, 2024 10:09
@pranitbauva1997
Copy link
Author

@Keats Can you please re-review this?

@pranitbauva1997
Copy link
Author

@Keats Made the required changes of using a string value instead of boolean so that we can further expand the scope by including other options. Can you please re-review?

components/config/src/config/mod.rs Outdated Show resolved Hide resolved
@pranitbauva1997
Copy link
Author

@Keats Made the changes and tested them on my website. Earlier wrong values weren't throwing errors. Now, they are throwing descriptive errors.

@pranitbauva1997 pranitbauva1997 requested a review from Keats August 21, 2024 15:39
Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

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

Nice, thanks!

@pranitbauva1997
Copy link
Author

@Keats thanks for approving the PR. This is my first contribution over here, so what would be the next steps? Please let me know if there is anything to be done from my side.

@Keats Keats merged commit 0098119 into getzola:next Aug 26, 2024
5 checks passed
@Keats
Copy link
Collaborator

Keats commented Aug 26, 2024

Nothing, that's all good!

@pranitbauva1997 pranitbauva1997 deleted the feature/ignore-pagination-in-sitemap branch August 26, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants