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

support page specific exclude in sitemap extension #391

Merged
merged 2 commits into from
Feb 7, 2014

Conversation

codylerum
Copy link
Contributor

allows the user to put sitemap_exclude: true in the page front matter and have it excluded. I will add to the sitemap docs @ the website once merged.

false
else
!@excluded_files.member?(page.output_path) && !@excluded_extensions.member?(page.output_extension)
end
Copy link
Member

Choose a reason for hiding this comment

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

Let's change this to:

if @excluded_files.member?(page.output_path) || @excluded_extensions.member?(page.output_extension) || page.sitemap_exclude
false
else
true
end

@codylerum
Copy link
Contributor Author

Should be good to merge now

LightGuard added a commit that referenced this pull request Feb 7, 2014
support page specific exclude in sitemap extension
@LightGuard LightGuard merged commit 1c9463d into awestruct:master Feb 7, 2014
@LightGuard LightGuard added this to the 0.5.4 milestone Apr 8, 2014
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.

None yet

2 participants