metadata-home.json.tpl 541 B

12345678910111213141516171819202122
  1. {
  2. "page": {
  3. "title": "Introduction",
  4. "level": "1.1",
  5. "depth": 1,
  6. {% assign reversed_posts = site.posts | reverse %}
  7. {% if reversed_posts %}
  8. "next": {
  9. "title": "{{reversed_posts.first.title}}",
  10. "level": "1.2",
  11. "depth": 1,
  12. "path": "{{reversed_posts.first.path}}",
  13. "ref": "{{reversed_posts.first.path}}",
  14. "articles": []
  15. },
  16. {% endif %}
  17. "dir": "ltr"
  18. },
  19. {%- include metadata.json.tpl -%}
  20. }