This commit is contained in:
parent
6be7f18ca0
commit
b2fa73519f
3 changed files with 14 additions and 16 deletions
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
6
templates/portfolio/project.html
Normal file
6
templates/portfolio/project.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<div>
|
||||
<h3>{{title}}</h3>
|
||||
<span>{{&content}}</span> {{#language}}
|
||||
<p data-lang="{{language}}"></p>
|
||||
{{/language}}
|
||||
</div>
|
Loading…
Reference in a new issue