Started design.

This commit is contained in:
2024-05-28 17:11:43 +02:00
parent 752aeb9082
commit 8952108bb5
71 changed files with 170 additions and 572 deletions

2
tpl/end.html Normal file
View File

@@ -0,0 +1,2 @@
</body>
</html>

24
tpl/head.html Normal file
View File

@@ -0,0 +1,24 @@
{{- $title := copy .Page .Content "title" -}}
<!DOCTYPE html>
<html lang="{{.Page.Language}}">
<head>
<base href="/" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="copyright" content="{{copy .Page .Content "copyright"}}" />
<meta name="author" content="{{copy .Page .Content "author"}}" />
<meta name="title" content="{{$title}}" />
<meta name="description" content="{{copy .Page .Content "meta_description"}}" />
<link rel="canonical" href="{{.Page.CanonicalLink}}" />
{{range $language, $path := .Page.Path}}
<link rel="alternate" hreflang="{{if eq $language "en"}}x-default{{else}}{{$language}}{{end}}" href="{{fmt "%s%s" hostname $path}}" />
{{end}}
<link rel="stylesheet" type="text/css" href="/static/web/main.css?v={{.CMS.LastUpdate}}" />
<script src="/static/web/main.min.js?v={{.CMS.LastUpdate}}"></script>
<title>{{$title}}</title>
</head>
<body>

19
tpl/intro.html Normal file
View File

@@ -0,0 +1,19 @@
<nav>
<div>
<p>TODO</p>
</div>
<div>
<a href="mailto:marvin.blum@emvi.com" class="contact">Contact me</a>
</div>
</nav>
<section class="intro">
<article>
<h1>Hi, I'm Marvin, co-founder of Pirsch Analytics, software engineer, and open-source enthusiast.</h1>
<img src="/static/img/me.jpg" alt="Picture" />
</article>
</section>
<footer>
<p>TODO</p>
</footer>

View File

@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/" />
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="static/main.css" />
<script type="text/javascript" src="static/main.min.js"></script>
<title>{{copy .Page .Content "title"}}</title>
</head>
<body>
<h1>{{copy .Page .Content "headline"}}</h1>
</body>
</html>