sitemap.tx 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. </a><br />
  28. : } else {
  29. : for $map.aliases -> $alias {
  30. &#8227; <a href="<: $alias :>"><: $alias :></a><br />
  31. : }
  32. <a href="<: $map.local_href :>">
  33. <: $map.title :>
  34. </a><br />
  35. : }
  36. : }
  37. : }