From d524dcb197bf609d847aca0993e800b6818feae1 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Tue, 10 Sep 2013 02:12:49 +0200 Subject: [PATCH 1/2] Adds introduction Related to https://github.com/phpDocumentor/phpDocumentor2/pull/1042 --- index.html.twig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.html.twig b/index.html.twig index 9056924..b3c8cfb 100644 --- a/index.html.twig +++ b/index.html.twig @@ -10,6 +10,13 @@ {% endblock %} {% block content %} +
+
+
+ {{ project.introduction|raw }} +
+
+
{% if project.namespace.namespaces|length > 0 or not project.index.packages %} From 6c58d17774574a76185581864b226ea90d2e1997 Mon Sep 17 00:00:00 2001 From: Siad Ardroumli Date: Mon, 25 Nov 2013 23:01:55 +0100 Subject: [PATCH 2/2] Add conditional --- index.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html.twig b/index.html.twig index b3c8cfb..d65676d 100644 --- a/index.html.twig +++ b/index.html.twig @@ -10,6 +10,7 @@ {% endblock %} {% block content %} + {% if project.introduction %}
@@ -17,6 +18,7 @@
+ {% endif %}
{% if project.namespace.namespaces|length > 0 or not project.index.packages %}