summaryrefslogtreecommitdiff
path: root/website/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'website/templates/index.html')
-rw-r--r--website/templates/index.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/website/templates/index.html b/website/templates/index.html
new file mode 100644
index 0000000..5877765
--- /dev/null
+++ b/website/templates/index.html
@@ -0,0 +1,11 @@
+{% extends "base.html" %}
+
+{% import "macros.html" as macros %}
+
+{% block content %}
+ <div class="m-3">
+ <h1>Rustlings</h1>
+
+ {{ section.content | replace(from="<!-- toc -->", to=macros::toc() ) | safe }}
+ </div>
+{% endblock %}