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

View file

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

View file

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