Add boilerplate layout

This commit is contained in:
Luca 2020-10-06 01:20:54 +02:00
parent d578b6e11d
commit e45b6b67c3
4 changed files with 20 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public/

0
assets/style.css Normal file
View File

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" value="width=device-width,initial-scale=1.0">
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
{{ $style := resources.Get "style.css" | minify }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>
<body>
{{ block "main" . }}
{{ end }}
</body>
</html>

2
layouts/index.html Normal file
View File

@ -0,0 +1,2 @@
{{ define "main" }}
{{ end }}