From 6e005690daee655c5f3667ad73476c326148d319 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 13 Oct 2023 00:05:15 +0200 Subject: [PATCH] fix project template --- .woodpecker/deploy.yml | 2 ++ templates/page/simple/projects.html.twig | 40 +++++++++++------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 19a73fd..d84cf7c 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -5,6 +5,8 @@ variables: when: event: [deployment] +skip_clone: true + steps: app-deploy: image: deblan/php:8.1 diff --git a/templates/page/simple/projects.html.twig b/templates/page/simple/projects.html.twig index cc5375a..f7e464a 100644 --- a/templates/page/simple/projects.html.twig +++ b/templates/page/simple/projects.html.twig @@ -13,29 +13,27 @@ -
- {% for project in projects %} -
-
- {% if project.image %} -
- {{ project.label }} -
- {% endif %} -
-

{{ project.label }}

+
+ {% for project in projects %} +
+ {% if project.image %} +
+ {{ project.label }} +
+ {% endif %} +
+

{{ project.label }}

- {{- project.description|murph_url|markdown('post') -}} + {{- project.description|murph_url|markdown('post') -}} -
- {% for link in project.links %} - - {{- link.label -}} - - {% endfor %} -
-
-
+
+ {% for link in project.links %} + + {{- link.label -}} + + {% endfor %} +
+
{% endfor %}