Repository navigation
Expand file tree
/
Copy pathdefaults.go
More file actions
66 lines (57 loc) · 1.44 KB
/
Copy pathdefaults.go
File metadata and controls
66 lines (57 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package core
var (
defaultConfig = []byte(`version: 1
site:
meta:
title: Your verless Project
theme: default
build:
# overwrite: true
`)
defaultTpl = []byte(`<!DOCTYPE html>
<html lang="en">
<head>
<title>{{.Meta.Title}}</title>
<link rel="stylesheet" href="/assets/style.css" />
</head>
<body>
<main>
<img src="https://verless.dominikbraun.io/static/img/logo-default.png"
alt="verless" id="logo" />
<h1>{{.Meta.Title}}</h1>
<p>
Welcome to your new project! Take a look at the <a
href="https://github.com/verless/verless/tree/master/example" target="_blank">example
project</a> or visit the <a
href="https://github.com/verless/verless/tree/master/docs" target="_blank">documentation</a>.
</p>
</main>
</body>
</html>`)
defaultCss = []byte(`* {
font-family: Arial, Tahoma, sans-serif;
color: #32343D;
}
body {
padding: 4rem 2rem;
}
main {
text-align: center;
}
h1 {
padding-bottom: 2rem;
font-weight: normal;
}
#logo {
margin: 2rem;
}`)
defaultThemeConfig = []byte(`version: 1
build:
# Here you can specify commands you need to run in order to build
# your theme, like generating CSS.
before:
# - Your command here - just comment out the line
# - Another command there
`)
defaultGitignore = []byte(`generated/`)
)