Browse Source

Added the missing twig template

Joachim M. Giæver 7 years ago
parent
commit
f18528dfdd
1 changed files with 19 additions and 0 deletions
  1. 19 0
      readme.twig

+ 19 - 0
readme.twig

@@ -0,0 +1,19 @@
+{% block content %}
+
+{% block content_header %}
+    {{- project.config('title')|default('Read me')}}
+    {{- "\n===" }}
+{% endblock %}
+
+{% block toc %}
+    {%- block toc_title %}# Table of content{% endblock %}
+    {{ "\n"  }}
+    {{- toc(tree, 0)|raw}}
+{% endblock %}
+
+{% block package %}
+    {{- "---\nDocumentation\n---\n" }}
+    {{- render(namespaces, classes, interfaces)|raw }}
+{% endblock %}
+
+{% endblock %}