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

feat(sitemap): improve priority #392

Merged
merged 4 commits into from
May 29, 2020
Merged

feat(sitemap): improve priority #392

merged 4 commits into from
May 29, 2020

Conversation

devandreacarratta
Copy link
Contributor

Recent posts have a major priority than other

Logic:

  • Calculate weeks beetwen now and publish date
  • Every week has a value of 0.1
  • sub 1 - 0.1*weeks
  • if not result is greater than default (config value) -> set default value

@dillonzq dillonzq added the enhancement New feature or request label May 29, 2020
@dillonzq dillonzq changed the base branch from master to develop May 29, 2020 02:57
@dillonzq dillonzq changed the title Sitemap - Priority Review feat(sitemap): improve priority May 29, 2020
@dillonzq dillonzq merged commit 2242e0c into dillonzq:develop May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants