mirror of
https://github.com/Kugelschieber/marvinblum.git
synced 2026-01-18 06:40:27 +00:00
Started design.
This commit is contained in:
2
tpl/end.html
Normal file
2
tpl/end.html
Normal file
@@ -0,0 +1,2 @@
|
||||
</body>
|
||||
</html>
|
||||
24
tpl/head.html
Normal file
24
tpl/head.html
Normal 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
19
tpl/intro.html
Normal 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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user