index.html 810 B

12345678910111213141516171819202122232425
  1. ---
  2. permalink: /index.html
  3. title: "Index"
  4. layout: none
  5. ---
  6. <!-- The index page should simply re-direct to the first chapter -->
  7. {% for chapter in site.data.toc %}
  8. {% unless chapter.external %}
  9. {% comment %}This ensures that the first link we re-direct to isn't an external site {% endcomment %}
  10. {% assign redirectURL = chapter.url | relative_url %}
  11. {% break %}
  12. {% endunless %}
  13. {% endfor %}
  14. <!DOCTYPE html>
  15. <html lang="en-US">
  16. <meta charset="utf-8">
  17. <title>Redirecting&hellip;</title>
  18. <link rel="canonical" href="{{ redirectURL }}">
  19. <script>location="{{ redirectURL }}"</script>
  20. <meta http-equiv="refresh" content="0; url={{ redirectURL }}">
  21. <meta name="robots" content="noindex">
  22. <h1>Redirecting&hellip;</h1>
  23. <a href="{{ redirectURL }}">Click here if you are not redirected.</a>
  24. </html>