mylloon.fr/templates/portfolio/index.html

60 lines
1.7 KiB
HTML
Raw Normal View History

2023-02-09 10:45:59 +01:00
<!DOCTYPE html>
<html lang="fr">
2023-04-24 17:22:12 +02:00
<head dir="ltr">
{{>head.html}}
<link rel="stylesheet" href="/css/portfolio.css" />
<link rel="stylesheet" href="/css/languages.css" />
2023-04-24 17:22:12 +02:00
</head>
2023-02-09 10:45:59 +01:00
<body>
<header>{{>navbar.html}}</header>
<main>
{{#data}}
<h1>Portfolio</h1>
<p>
Je programme depuis 2018 et j'ai appris une multitude de langages
2023-10-16 00:25:59 +02:00
depuis. Étant passionné de logiciels libres depuis que je m'y intéresse,
je publie tout sur des forges publiques.
</p>
2023-04-19 16:57:16 +02:00
{{#location_apps}}
<!-- Error message -->
<p>{{location_apps}} {{err_msg}}</p>
{{/location_apps}} {{^location_apps}}
<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}}
</ul>
2023-10-15 22:27:08 +02:00
{{#archived_apps_exists}}
<h2>Archives</h2>
<ul>
{{#archived_apps}} {{>portfolio/card.html}} {{/archived_apps}}
2023-10-15 22:27:08 +02:00
</ul>
{{/archived_apps_exists}} {{/location_apps}} {{/data}}
</main>
<script>
/* Fix links in list */
window.addEventListener("load", () =>
document.querySelectorAll("main a").forEach(function (link) {
link.setAttribute("target", "_blank");
link.setAttribute("rel", "noreferrer");
link.addEventListener("click", function (event) {
event.stopPropagation();
});
})
);
</script>
2023-02-09 10:45:59 +01:00
</body>
</html>