Initial commit

This commit is contained in:
2022-05-12 15:29:25 +02:00
commit 110eea369b
15 changed files with 334 additions and 0 deletions

42
layout/page.html Normal file
View File

@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ title }}</title>
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1" />
<link rel="stylesheet" href="assets/css/index.css" />
<!-- TODO -->
<link rel="stylesheet" href="https://cdn.polynom.me/css/main.css" />
<!-- Mastodon -->
<link rel="me" href="https://{{ mastodon_instance_url }}/{{ mastodon_handle }}" />
</head>
<body>
<div class="horizontal-center">
<div class="vertical-flex header">
<div id="header" class="horizontal-flex">
<img class="avatar" src="assets/img/avatar.jpg" />
<div class="vertical-center">
<span class="name-title">Alexander "PapaTutuWawa"</span>
<div id="header-links">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="https://{{ blog_url }}">Blog</a></li>
<li><a href="code.html">Code</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
</div>
</div>
{{ content }}
</div>
</body>
</html>

View File

View File

@@ -0,0 +1,9 @@
<div class="no-screenshot clickable">
<a href="https://{{ item.source_url }}">
<div class="vertical-center">
<div class="horizontal-center">
<span class="no-screenshot-pound">#</span>
</div>
</div>
</a>
</div>

View File

@@ -0,0 +1,12 @@
<div class="horizontal-flex project-row">
{{ template_if_empty item.screenshot layout/templates/no_screenshot.html layout/templates/screenshot.html }}
<div class="vertical-flex">
<h2>{{ item.title }}</h2>
<p>{{ item.description }}</p>
<ul>
{{ template_if_empty item.website layout/templates/empty.html layout/templates/project_website.html }}
<li><a href="https://{{ item.source_url }}">Code</a></li>
</ul>
</div>
</div>

View File

@@ -0,0 +1 @@
<li><a href="https://{{ item.website }}">Website</a></li>

View File

@@ -0,0 +1,5 @@
<div>
<a href="https:{{ item.source_url }}" target="_blank">
<img class="screenshot clickable" src="{{ item.screenshot }}" />
</a>
</div>