From b1128945f014924d87b87c2e94412c66849242ab Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Wed, 2 Aug 2023 11:46:28 +0200 Subject: [PATCH] [WIP] Improve project template --- templates/project.html | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/templates/project.html b/templates/project.html index 16385527..f6bb5498 100644 --- a/templates/project.html +++ b/templates/project.html @@ -13,14 +13,25 @@ {% endblock %} {% block main %} -<section class="container section is-medium project-section-{{ section.extra.project_slug }}"> - <h1 class="title">{{ section.title }}</h1> - <h2 class="subtitle">{{ section.description }}</h2> - <ul class="box"> - {% for thesis in section.extra.theses %} - <li>{{ thesis }}</li> - {% endfor %} - </ul> - <div class="content">{{ section.content | safe }}</div> +<section class="hero hero-main"> + <div class="hero-body"> + <div class="container"> + <div class="columns"> + <div class="column is-two-fifth project-title"> + <h1>{{ section.title }}</h1> + <p> + {{ section.description }} + </p> + </div> + <div class="column project-theses"> + <ul> + {% for thesis in section.extra.theses %} + <li>{{ thesis }}</li> + {% endfor %} + </ul> + </div> + </div> + </div> + </div> </section> {% endblock %} -- GitLab