sitemap.tx 919 B

123456789101112131415161718192021222324252627282930313233
  1. : if ( $is_index ) {
  2. <h3>Sitemap Index</h3>
  3. <p>
  4. Each page of posts is at maximum 50,000 entries due to the <a href="https://www.sitemaps.org/faq.html#faq_sitemap_size">limitations of the sitemap format</a>.
  5. This means this map will only show the most recent 2,499,950 posts.
  6. </p>
  7. : if ( $warning ) {
  8. <: $warning :><br /><br />
  9. : }
  10. : for $to_map -> $map {
  11. <a href="?map=<: $map :>">
  12. : if ( $map != 'static' ) {
  13. Posts Page
  14. : }
  15. <: $map :>
  16. </a><br />
  17. : }
  18. : } else {
  19. <h3>Sitemap of <: $route_type :></h3>
  20. <p>
  21. <a href="/sitemap">Back</a>
  22. </p>
  23. : for $to_map -> $map {
  24. : if ( $route_type == 'Static Routes' ) {
  25. <a href="<: $map :>">
  26. <: $map :>
  27. : } else {
  28. <a href="/posts/<: $map.id :>">
  29. <: $map.title :>
  30. : }
  31. </a><br />
  32. : }
  33. : }