Skip to content

Commit

Permalink
enhance sitemap example
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Oct 14, 2024
1 parent 2d2cb7a commit 6e17bb7
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions book/gettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,22 +219,21 @@ reindex your holdings. Possible values are: `always`, `hourly`, `daily`, `weekly
`yearly`, `never`. Here is a snippet from a sitemap:
:

.. code-block:: xml
:emphasize-lines: 6, 11

```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.org/landingpage1</loc>
<lastmod>2024-06-10</lastmod>
<changefreq>monthly</changefreq>
<loc>https://example.org/landingpage1</loc>
<lastmod>2024-06-10</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>https://example.org/landingpage2</loc>
<lastmod>2024-01-31</lastmod>
<changefreq>monthly</changefreq>
<loc>https://example.org/landingpage2</loc>
<lastmod>2024-01-31</lastmod>
<changefreq>monthly</changefreq>
</url>
</urlset>
```

```{tip}
There are many sitemap validator websites that you can leverage, to make sure that
Expand Down

0 comments on commit 6e17bb7

Please sign in to comment.