Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-12-11 01:19:38 +0300
committerAnthony Fok <foka@debian.org>2015-12-11 01:19:38 +0300
commit8509727fe862d06b3371651454fcb1af54b4ab21 (patch)
tree4220aab1df048bf490000d61a991dbf088ffb823 /parser
parente29ede70556c2b5207032d30351f3b53a298ca0c (diff)
Add copyright header to that source files that don’t have one.
See #1646
Diffstat (limited to 'parser')
-rw-r--r--parser/frontmatter_test.go13
-rw-r--r--parser/page.go13
-rw-r--r--parser/parse_frontmatter_test.go13
3 files changed, 39 insertions, 0 deletions
diff --git a/parser/frontmatter_test.go b/parser/frontmatter_test.go
index c9c3c0eaa..081910094 100644
--- a/parser/frontmatter_test.go
+++ b/parser/frontmatter_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package parser
import (
diff --git a/parser/page.go b/parser/page.go
index 302ef488f..d64195ee1 100644
--- a/parser/page.go
+++ b/parser/page.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package parser
import (
diff --git a/parser/parse_frontmatter_test.go b/parser/parse_frontmatter_test.go
index 999472c0b..d3e1f9dbb 100644
--- a/parser/parse_frontmatter_test.go
+++ b/parser/parse_frontmatter_test.go
@@ -1,3 +1,16 @@
+// Copyright 2015 The Hugo Authors. All rights reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package parser
// TODO Support Mac Encoding (\r)