minetest_modding_book/sitemap.json
2018-09-24 15:59:56 +01:00

39 lines
882 B
JSON

---
---
{% assign pages = site.en | sort: "idx" %}
{% assign num = 0 %}
[
{% for link in pages %}
{% assign idsplit = link.id | split: '/' %}
{% assign section = idsplit[2] %}
{
"idx": {{ link.idx }},
"title": "{{ link.title }}",
"loc": "https://rubenwardy.com/minetest_modding_book/{{ link.url }}",
{% if link.description %}
"description": "{{ link.description }}",
{% endif %}
"priority": 1
{% if section != "index" %}, "chapter_number": {{ num }}{% endif %}
},
{% assign num = num | plus:1 %}
{% endfor %}
{
"title": "Lua Modding API Reference",
"loc": "https://rubenwardy.com/minetest_modding_book/lua_api.html",
"description": "lua_api.html is an HTML version of lua_api.txt",
"priority": 0.75
},
{
"title": "Download Examples",
"loc": "https://github.com/rubenwardy/minetest_modding_book/archive/examples.zip",
"priority": 0.5
}
]