summaryrefslogtreecommitdiff
path: root/app/Template/project_overview/description.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_overview/description.php')
-rw-r--r--app/Template/project_overview/description.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Template/project_overview/description.php b/app/Template/project_overview/description.php
new file mode 100644
index 00000000..4137bf9f
--- /dev/null
+++ b/app/Template/project_overview/description.php
@@ -0,0 +1,8 @@
+<?php if (! empty($project['description'])): ?>
+ <div class="page-header">
+ <h2><?= $this->e($project['name']) ?></h2>
+ </div>
+ <article class="markdown">
+ <?= $this->text->markdown($project['description']) ?>
+ </article>
+<?php endif ?>