12345678910111213141516171819202122232425262728293031323334353637 |
- : if ( $is_index ) {
- <h3>Sitemap Index</h3>
- <p>
- 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>.
- This means this map will only show the most recent 2,499,950 posts.
- </p>
- : if ( $warning ) {
- <: $warning :><br /><br />
- : }
- : for $to_map -> $map {
- <a href="?map=<: $map :>">
- : if ( $map != 'static' ) {
- Posts Page
- : }
- <: $map :>
- </a><br />
- : }
- : } else {
- <h3>Sitemap of <: $route_type :></h3>
- <p>
- <a href="/sitemap">Back</a>
- </p>
- : for $to_map -> $map {
- : if ( $route_type == 'Static Routes' ) {
- <a href="<: $map :>">
- <: $map :>
- </a><br />
- : } else {
- : for $map.aliases -> $alias {
- ‣ <a href="<: $alias :>"><: $alias :></a><br />
- : }
- <a href="<: $map.local_href :>">
- <: $map.title :>
- </a><br />
- : }
- : }
- : }
|