mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Add sitemap for Google search
This commit is contained in:
@@ -2374,6 +2374,13 @@ pages:
|
|||||||
# Note: other "News" links (Release Notes, eventually Network Status)
|
# Note: other "News" links (Release Notes, eventually Network Status)
|
||||||
# are external to this site
|
# are external to this site
|
||||||
|
|
||||||
|
# Special sitemap file (for better Google indexing)
|
||||||
|
- name: Sitemap
|
||||||
|
html: sitemap.txt
|
||||||
|
template: template-sitemap.txt
|
||||||
|
targets:
|
||||||
|
- local
|
||||||
|
|
||||||
|
|
||||||
ignore_anchors_in:
|
ignore_anchors_in:
|
||||||
- data-api-v2-tool.html
|
- data-api-v2-tool.html
|
||||||
|
|||||||
4
tool/template-sitemap.txt
Normal file
4
tool/template-sitemap.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{% for page in pages -%}
|
||||||
|
{%- if page.html is defined and page.html != "sitemap.txt" -%}
|
||||||
|
https://developers.ripple.com/{{page.html}}
|
||||||
|
{% endif %}{% endfor %}
|
||||||
Reference in New Issue
Block a user