Skip to content

Commit 06a386d

Browse files
committed
netlify configration
1 parent 7929a41 commit 06a386d

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

netlify.toml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[build]
2+
publish = "public"
3+
command = "hugo --gc --minify"
4+
5+
[context.production.environment]
6+
HUGO_VERSION = "0.69.2"
7+
HUGO_ENV = "production"
8+
HUGO_ENABLEGITINFO = "true"
9+
10+
[context.split1]
11+
command = "hugo --gc --minify --enableGitInfo"
12+
13+
[context.split1.environment]
14+
HUGO_VERSION = "0.69.2"
15+
HUGO_ENV = "production"
16+
17+
[context.deploy-preview]
18+
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
19+
20+
[context.deploy-preview.environment]
21+
HUGO_VERSION = "0.69.2"
22+
23+
[context.branch-deploy]
24+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
25+
26+
[context.branch-deploy.environment]
27+
HUGO_VERSION = "0.69.2"
28+
29+
[context.next.environment]
30+
HUGO_ENABLEGITINFO = "true"

themes/basic/assets/css/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.jumbotron {
2+
background-color: #fff;
3+
}
4+
5+
.test{
6+
background-color: green;
7+
}

themes/basic/layouts/_default/tag.terms.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{{ define "main" }}
22
<h2>{{ .Title }}</h2>
33
{{ .Content }}
4+
45
{{ range .Data.Terms.Alphabetical }}
56

67
<p class="tag">

0 commit comments

Comments
 (0)