Initial commit
This commit is contained in:
42
layout/page.html
Normal file
42
layout/page.html
Normal 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>
|
||||
0
layout/templates/empty.html
Normal file
0
layout/templates/empty.html
Normal file
9
layout/templates/no_screenshot.html
Normal file
9
layout/templates/no_screenshot.html
Normal 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>
|
||||
12
layout/templates/project.html
Normal file
12
layout/templates/project.html
Normal 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>
|
||||
1
layout/templates/project_website.html
Normal file
1
layout/templates/project_website.html
Normal file
@@ -0,0 +1 @@
|
||||
<li><a href="https://{{ item.website }}">Website</a></li>
|
||||
5
layout/templates/screenshot.html
Normal file
5
layout/templates/screenshot.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
<a href="https:{{ item.source_url }}" target="_blank">
|
||||
<img class="screenshot clickable" src="{{ item.screenshot }}" />
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user