From b2fa73519f9a813b1b95cf38094bfd5673cb12f7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 16 Oct 2023 12:31:52 +0200 Subject: [PATCH] fix archived apps --- templates/portfolio/card.html | 13 +++++++------ templates/portfolio/index.html | 11 +---------- templates/portfolio/project.html | 6 ++++++ 3 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 templates/portfolio/project.html diff --git a/templates/portfolio/card.html b/templates/portfolio/card.html index 65d0ac8..c7459dc 100644 --- a/templates/portfolio/card.html +++ b/templates/portfolio/card.html @@ -1,6 +1,7 @@ -
-

{{title}}

- {{&content}} {{#language}} -

- {{/language}} -
+{{#metadata}} {{#info}} {{#link}} +
  • + {{>portfolio/project.html}} +
  • +{{/link}} {{^link}} +
  • {{>portfolio/project.html}}
  • +{{/link}} {{/info}} {{/metadata}} diff --git a/templates/portfolio/index.html b/templates/portfolio/index.html index 37704c8..fbf7469 100644 --- a/templates/portfolio/index.html +++ b/templates/portfolio/index.html @@ -23,16 +23,7 @@

    Projets

    {{#archived_apps_exists}} diff --git a/templates/portfolio/project.html b/templates/portfolio/project.html new file mode 100644 index 0000000..65d0ac8 --- /dev/null +++ b/templates/portfolio/project.html @@ -0,0 +1,6 @@ +
    +

    {{title}}

    + {{&content}} {{#language}} +

    + {{/language}} +