Skip to content

Commit c7b137c

Browse files
committed
UPDATE: goreleaser fixes
1 parent a17990d commit c7b137c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.goreleaser.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ before:
1010
builds:
1111
- env:
1212
- CGO_ENABLED=0
13+
ldflags:
14+
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
15+
main: ./cmd/fflint/main.go
1316
goos:
1417
- linux
1518
- windows

docs/_includes/meta.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<meta charset="utf-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1.0">
33
<title>{% if page.h1 %}{{page.title}}{% else %}{{page.title}} - {{site.title}}{% endif %}</title>
4+
<meta name="referrer" content="unsafe-url" />
45
<link rel="stylesheet" href="/css/style.css?{{site.time | date: "%s"}}" />
56
<script>if (window.top.location != window.location) { window.top.location.href = document.location.href; }</script>
67
{%-if page.url == '/'%}

0 commit comments

Comments
 (0)