fix archived apps
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2023-10-16 12:31:52 +02:00
parent 6be7f18ca0
commit b2fa73519f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 14 additions and 16 deletions

View file

@ -1,6 +1,7 @@
<div> {{#metadata}} {{#info}} {{#link}}
<h3>{{title}}</h3> <li role="button" onclick="window.open('{{link}}', '_blank', 'noreferrer');">
<span>{{&content}}</span> {{#language}} {{>portfolio/project.html}}
<p data-lang="{{language}}"></p> </li>
{{/language}} {{/link}} {{^link}}
</div> <li>{{>portfolio/project.html}}</li>
{{/link}} {{/info}} {{/metadata}}

View file

@ -23,16 +23,7 @@
<h2>Projets</h2> <h2>Projets</h2>
<ul> <ul>
{{#apps}} {{#metadata}} {{#info}} {{#link}} {{#apps}} {{>portfolio/card.html}} {{/apps}}
<li
role="button"
onclick="window.open('{{link}}', '_blank', 'noreferrer');"
>
{{>portfolio/card.html}}
</li>
{{/link}} {{^link}}
<li>{{>portfolio/card.html}}</li>
{{/link}} {{/info}} {{/metadata}} {{/apps}}
</ul> </ul>
{{#archived_apps_exists}} {{#archived_apps_exists}}

View file

@ -0,0 +1,6 @@
<div>
<h3>{{title}}</h3>
<span>{{&content}}</span> {{#language}}
<p data-lang="{{language}}"></p>
{{/language}}
</div>