From 8509727fe862d06b3371651454fcb1af54b4ab21 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 10 Dec 2015 15:19:38 -0700 Subject: =?UTF-8?q?Add=20copyright=20header=20to=20that=20source=20files?= =?UTF-8?q?=20that=20don=E2=80=99t=20have=20one.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #1646 --- commands/gen.go | 13 +++++++++++++ commands/genautocomplete.go | 13 +++++++++++++ commands/gendoc.go | 13 +++++++++++++ commands/genman.go | 13 +++++++++++++ commands/limit_darwin.go | 13 +++++++++++++ commands/limit_others.go | 13 +++++++++++++ commands/new_test.go | 13 +++++++++++++ commands/server_test.go | 13 +++++++++++++ commands/undraft_test.go | 13 +++++++++++++ helpers/content_renderer.go | 13 +++++++++++++ helpers/content_renderer_test.go | 13 +++++++++++++ helpers/content_test.go | 13 +++++++++++++ helpers/general_test.go | 13 +++++++++++++ helpers/hugo_test.go | 13 +++++++++++++ helpers/path_test.go | 13 +++++++++++++ helpers/pygments_test.go | 13 +++++++++++++ helpers/url_test.go | 13 +++++++++++++ hugolib/benchmark_test.go | 13 +++++++++++++ hugolib/datafiles_test.go | 13 +++++++++++++ hugolib/handler_test.go | 13 +++++++++++++ hugolib/hugo.go | 13 +++++++++++++ hugolib/menu_test.go | 13 +++++++++++++ hugolib/pageCache_test.go | 13 +++++++++++++ hugolib/pageGroup_test.go | 13 +++++++++++++ hugolib/pageSort_test.go | 13 +++++++++++++ hugolib/page_permalink_test.go | 13 +++++++++++++ hugolib/page_taxonomy_test.go | 13 +++++++++++++ hugolib/page_test.go | 13 +++++++++++++ hugolib/page_time_integration_test.go | 13 +++++++++++++ hugolib/pagination_test.go | 13 +++++++++++++ hugolib/path_separators_test.go | 13 +++++++++++++ hugolib/path_separators_windows_test.go | 13 +++++++++++++ hugolib/permalinks.go | 13 +++++++++++++ hugolib/permalinks_test.go | 13 +++++++++++++ hugolib/planner.go | 13 +++++++++++++ hugolib/rss_test.go | 13 +++++++++++++ hugolib/scratch_test.go | 13 +++++++++++++ hugolib/shortcode_test.go | 13 +++++++++++++ hugolib/shortcodeparser_test.go | 13 +++++++++++++ hugolib/siteJSONEncode_test.go | 13 +++++++++++++ hugolib/site_show_plan_test.go | 13 +++++++++++++ hugolib/site_test.go | 13 +++++++++++++ hugolib/site_url_test.go | 13 +++++++++++++ hugolib/siteinfo_test.go | 13 +++++++++++++ hugolib/sitemap.go | 13 +++++++++++++ hugolib/sitemap_test.go | 13 +++++++++++++ hugolib/summary.go | 13 +++++++++++++ hugolib/taxonomy_test.go | 13 +++++++++++++ parser/frontmatter_test.go | 13 +++++++++++++ parser/page.go | 13 +++++++++++++ parser/parse_frontmatter_test.go | 13 +++++++++++++ source/content_directory_test.go | 13 +++++++++++++ source/file_test.go | 13 +++++++++++++ source/filesystem_test.go | 13 +++++++++++++ source/filesystem_unix_test.go | 13 +++++++++++++ source/filesystem_windows_test.go | 13 +++++++++++++ source/inmemory.go | 13 +++++++++++++ source/lazy_file_reader_test.go | 13 +++++++++++++ target/alias_test.go | 13 +++++++++++++ target/file.go | 13 +++++++++++++ target/htmlredirect.go | 13 +++++++++++++ target/memory.go | 13 +++++++++++++ target/page.go | 13 +++++++++++++ target/page_test.go | 13 +++++++++++++ tpl/template_funcs_test.go | 13 +++++++++++++ tpl/template_test.go | 13 +++++++++++++ transform/absurl.go | 13 +++++++++++++ transform/absurlreplacer.go | 13 +++++++++++++ transform/chain.go | 13 +++++++++++++ transform/chain_test.go | 13 +++++++++++++ transform/livereloadinject.go | 13 +++++++++++++ transform/livereloadinject_test.go | 13 +++++++++++++ utils/utils.go | 13 +++++++++++++ 73 files changed, 949 insertions(+) diff --git a/commands/gen.go b/commands/gen.go index 86bc4918a..62a84b0d0 100644 --- a/commands/gen.go +++ b/commands/gen.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 commands import ( diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go index 54dd7563b..c4e89dd96 100644 --- a/commands/genautocomplete.go +++ b/commands/genautocomplete.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 commands import ( diff --git a/commands/gendoc.go b/commands/gendoc.go index 44d09fb50..563208312 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.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 commands import ( diff --git a/commands/genman.go b/commands/genman.go index a842b49b8..ab2616aa2 100644 --- a/commands/genman.go +++ b/commands/genman.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 commands import ( diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go index e98f10b37..7dc8b7638 100644 --- a/commands/limit_darwin.go +++ b/commands/limit_darwin.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. + // +build darwin // Copyright 2015 The Hugo Authors. All rights reserved. // diff --git a/commands/limit_others.go b/commands/limit_others.go index 9772a246f..c757f174e 100644 --- a/commands/limit_others.go +++ b/commands/limit_others.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. + // +build !darwin // Copyright 2015 The Hugo Authors. All rights reserved. // diff --git a/commands/new_test.go b/commands/new_test.go index ceed82626..e74e9cfcc 100644 --- a/commands/new_test.go +++ b/commands/new_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 commands import ( diff --git a/commands/server_test.go b/commands/server_test.go index 7d3c62c13..55d687bcc 100644 --- a/commands/server_test.go +++ b/commands/server_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 commands import ( diff --git a/commands/undraft_test.go b/commands/undraft_test.go index e0a654f3a..45b785bb0 100644 --- a/commands/undraft_test.go +++ b/commands/undraft_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 commands // TODO Support Mac Encoding (\r) diff --git a/helpers/content_renderer.go b/helpers/content_renderer.go index f7023f8d3..00997900d 100644 --- a/helpers/content_renderer.go +++ b/helpers/content_renderer.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 helpers import ( diff --git a/helpers/content_renderer_test.go b/helpers/content_renderer_test.go index 1c84818a2..09ddf8e60 100644 --- a/helpers/content_renderer_test.go +++ b/helpers/content_renderer_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 helpers import ( diff --git a/helpers/content_test.go b/helpers/content_test.go index f0d76b6ce..dfab5f980 100644 --- a/helpers/content_test.go +++ b/helpers/content_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 helpers import ( diff --git a/helpers/general_test.go b/helpers/general_test.go index 4d85a1299..83e532dbf 100644 --- a/helpers/general_test.go +++ b/helpers/general_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 helpers import ( diff --git a/helpers/hugo_test.go b/helpers/hugo_test.go index 90b63d403..a0012acdf 100644 --- a/helpers/hugo_test.go +++ b/helpers/hugo_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 helpers import ( diff --git a/helpers/path_test.go b/helpers/path_test.go index 6a3d58053..7718730c6 100644 --- a/helpers/path_test.go +++ b/helpers/path_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 helpers import ( diff --git a/helpers/pygments_test.go b/helpers/pygments_test.go index 9e91b8135..d90e4b00e 100644 --- a/helpers/pygments_test.go +++ b/helpers/pygments_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 helpers import ( diff --git a/helpers/url_test.go b/helpers/url_test.go index 001daf109..632a0f8a9 100644 --- a/helpers/url_test.go +++ b/helpers/url_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 helpers import ( diff --git a/hugolib/benchmark_test.go b/hugolib/benchmark_test.go index cc1b3cdf5..507db1f5b 100644 --- a/hugolib/benchmark_test.go +++ b/hugolib/benchmark_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 hugolib import ( diff --git a/hugolib/datafiles_test.go b/hugolib/datafiles_test.go index 84eb70bdf..0f8fe8b5d 100644 --- a/hugolib/datafiles_test.go +++ b/hugolib/datafiles_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 hugolib import ( diff --git a/hugolib/handler_test.go b/hugolib/handler_test.go index d44a373b4..8f206f75f 100644 --- a/hugolib/handler_test.go +++ b/hugolib/handler_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 hugolib import ( diff --git a/hugolib/hugo.go b/hugolib/hugo.go index da08b93b9..0a912a7b4 100644 --- a/hugolib/hugo.go +++ b/hugolib/hugo.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 hugolib import ( diff --git a/hugolib/menu_test.go b/hugolib/menu_test.go index 1b016bf5b..c7701e5a7 100644 --- a/hugolib/menu_test.go +++ b/hugolib/menu_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 hugolib import ( diff --git a/hugolib/pageCache_test.go b/hugolib/pageCache_test.go index 6e48c63cf..9de09503c 100644 --- a/hugolib/pageCache_test.go +++ b/hugolib/pageCache_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 hugolib import ( diff --git a/hugolib/pageGroup_test.go b/hugolib/pageGroup_test.go index 2de07bc9d..18bd92df4 100644 --- a/hugolib/pageGroup_test.go +++ b/hugolib/pageGroup_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 hugolib import ( diff --git a/hugolib/pageSort_test.go b/hugolib/pageSort_test.go index 20c025961..1707730c4 100644 --- a/hugolib/pageSort_test.go +++ b/hugolib/pageSort_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 hugolib import ( diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index 2450300ad..eae174517 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_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 hugolib import ( diff --git a/hugolib/page_taxonomy_test.go b/hugolib/page_taxonomy_test.go index 610696592..d463e5800 100644 --- a/hugolib/page_taxonomy_test.go +++ b/hugolib/page_taxonomy_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 hugolib import ( diff --git a/hugolib/page_test.go b/hugolib/page_test.go index df7daede4..1e5f9e969 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_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 hugolib import ( diff --git a/hugolib/page_time_integration_test.go b/hugolib/page_time_integration_test.go index 9401a8589..a3bbafe0c 100644 --- a/hugolib/page_time_integration_test.go +++ b/hugolib/page_time_integration_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 hugolib import ( diff --git a/hugolib/pagination_test.go b/hugolib/pagination_test.go index b806a10e0..9b311cb34 100644 --- a/hugolib/pagination_test.go +++ b/hugolib/pagination_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 hugolib import ( diff --git a/hugolib/path_separators_test.go b/hugolib/path_separators_test.go index b3c7c2d9c..013837279 100644 --- a/hugolib/path_separators_test.go +++ b/hugolib/path_separators_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 hugolib import ( diff --git a/hugolib/path_separators_windows_test.go b/hugolib/path_separators_windows_test.go index 8b2cbacfe..2fe07b3a4 100644 --- a/hugolib/path_separators_windows_test.go +++ b/hugolib/path_separators_windows_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 hugolib import ( diff --git a/hugolib/permalinks.go b/hugolib/permalinks.go index 81416e7e8..f6f2bd80d 100644 --- a/hugolib/permalinks.go +++ b/hugolib/permalinks.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 hugolib import ( diff --git a/hugolib/permalinks_test.go b/hugolib/permalinks_test.go index 7f8a524e7..3c6fb2eda 100644 --- a/hugolib/permalinks_test.go +++ b/hugolib/permalinks_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 hugolib import ( diff --git a/hugolib/planner.go b/hugolib/planner.go index f2f19f3fa..8dd82c0f5 100644 --- a/hugolib/planner.go +++ b/hugolib/planner.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 hugolib import ( diff --git a/hugolib/rss_test.go b/hugolib/rss_test.go index 90429d32f..3a9a0cf07 100644 --- a/hugolib/rss_test.go +++ b/hugolib/rss_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 hugolib import ( diff --git a/hugolib/scratch_test.go b/hugolib/scratch_test.go index b49d8982b..1ab0e1a23 100644 --- a/hugolib/scratch_test.go +++ b/hugolib/scratch_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 hugolib import ( diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 305cc1236..ce655770e 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_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 hugolib import ( diff --git a/hugolib/shortcodeparser_test.go b/hugolib/shortcodeparser_test.go index 46b843936..a5d7453cc 100644 --- a/hugolib/shortcodeparser_test.go +++ b/hugolib/shortcodeparser_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 hugolib import ( diff --git a/hugolib/siteJSONEncode_test.go b/hugolib/siteJSONEncode_test.go index c040eb01b..9ba4eaeb3 100644 --- a/hugolib/siteJSONEncode_test.go +++ b/hugolib/siteJSONEncode_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 hugolib import ( diff --git a/hugolib/site_show_plan_test.go b/hugolib/site_show_plan_test.go index 4ee53e4ab..74b49082f 100644 --- a/hugolib/site_show_plan_test.go +++ b/hugolib/site_show_plan_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 hugolib import ( diff --git a/hugolib/site_test.go b/hugolib/site_test.go index 705abe0c1..1405210cc 100644 --- a/hugolib/site_test.go +++ b/hugolib/site_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 hugolib import ( diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go index f561369ff..f25b5dfaf 100644 --- a/hugolib/site_url_test.go +++ b/hugolib/site_url_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 hugolib import ( diff --git a/hugolib/siteinfo_test.go b/hugolib/siteinfo_test.go index fe7b41d68..4d075dc4d 100644 --- a/hugolib/siteinfo_test.go +++ b/hugolib/siteinfo_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 hugolib import ( diff --git a/hugolib/sitemap.go b/hugolib/sitemap.go index a8e38fe18..3f3a28cd2 100644 --- a/hugolib/sitemap.go +++ b/hugolib/sitemap.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 hugolib import ( diff --git a/hugolib/sitemap_test.go b/hugolib/sitemap_test.go index 2e24e4c47..7bc16b482 100644 --- a/hugolib/sitemap_test.go +++ b/hugolib/sitemap_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 hugolib import ( diff --git a/hugolib/summary.go b/hugolib/summary.go index 938c77a23..aaa552812 100644 --- a/hugolib/summary.go +++ b/hugolib/summary.go @@ -1 +1,14 @@ +// 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 hugolib diff --git a/hugolib/taxonomy_test.go b/hugolib/taxonomy_test.go index 7f245d0a9..047263e78 100644 --- a/hugolib/taxonomy_test.go +++ b/hugolib/taxonomy_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 hugolib import ( 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) diff --git a/source/content_directory_test.go b/source/content_directory_test.go index 3f1369c33..839da5193 100644 --- a/source/content_directory_test.go +++ b/source/content_directory_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 source import ( diff --git a/source/file_test.go b/source/file_test.go index 6a4e456c6..43165b2c3 100644 --- a/source/file_test.go +++ b/source/file_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 source import ( diff --git a/source/filesystem_test.go b/source/filesystem_test.go index 95526415a..9a6b9fa88 100644 --- a/source/filesystem_test.go +++ b/source/filesystem_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 source import ( diff --git a/source/filesystem_unix_test.go b/source/filesystem_unix_test.go index 9674f282d..560d824ae 100644 --- a/source/filesystem_unix_test.go +++ b/source/filesystem_unix_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. + // +build linux darwin !windows package source diff --git a/source/filesystem_windows_test.go b/source/filesystem_windows_test.go index ee6185374..4662c5fd6 100644 --- a/source/filesystem_windows_test.go +++ b/source/filesystem_windows_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 source // diff --git a/source/inmemory.go b/source/inmemory.go index c30aa3836..ebd07686b 100644 --- a/source/inmemory.go +++ b/source/inmemory.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 source import ( diff --git a/source/lazy_file_reader_test.go b/source/lazy_file_reader_test.go index 60d6f49e3..8da6d0fc2 100644 --- a/source/lazy_file_reader_test.go +++ b/source/lazy_file_reader_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 source import ( diff --git a/target/alias_test.go b/target/alias_test.go index 311ccef9c..c2388e28a 100644 --- a/target/alias_test.go +++ b/target/alias_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 target import ( diff --git a/target/file.go b/target/file.go index e6c9ad43e..439b8877e 100644 --- a/target/file.go +++ b/target/file.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 target import ( diff --git a/target/htmlredirect.go b/target/htmlredirect.go index 75f3b088e..34e05cbad 100644 --- a/target/htmlredirect.go +++ b/target/htmlredirect.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 target import ( diff --git a/target/memory.go b/target/memory.go index 77437c162..3e1b81189 100644 --- a/target/memory.go +++ b/target/memory.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 target import ( diff --git a/target/page.go b/target/page.go index 98e6dc8d4..9e7efdb61 100644 --- a/target/page.go +++ b/target/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 target import ( diff --git a/target/page_test.go b/target/page_test.go index 20f5649ed..b55726af7 100644 --- a/target/page_test.go +++ b/target/page_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 target import ( diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go index db6236f11..761459b32 100644 --- a/tpl/template_funcs_test.go +++ b/tpl/template_funcs_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 tpl import ( diff --git a/tpl/template_test.go b/tpl/template_test.go index 99c85affb..76afff25a 100644 --- a/tpl/template_test.go +++ b/tpl/template_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 tpl import ( diff --git a/transform/absurl.go b/transform/absurl.go index 7f06056f0..1a98a592c 100644 --- a/transform/absurl.go +++ b/transform/absurl.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 transform var ar *absURLReplacer = newAbsURLReplacer() diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go index b9a8f3a69..b834bcdcc 100644 --- a/transform/absurlreplacer.go +++ b/transform/absurlreplacer.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 transform import ( diff --git a/transform/chain.go b/transform/chain.go index 4019dca25..b566f54fa 100644 --- a/transform/chain.go +++ b/transform/chain.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 transform import ( diff --git a/transform/chain_test.go b/transform/chain_test.go index 808c20121..ae7ef2caa 100644 --- a/transform/chain_test.go +++ b/transform/chain_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 transform import ( diff --git a/transform/livereloadinject.go b/transform/livereloadinject.go index 2fb130c17..789ff9d22 100644 --- a/transform/livereloadinject.go +++ b/transform/livereloadinject.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 transform import ( diff --git a/transform/livereloadinject_test.go b/transform/livereloadinject_test.go index 605f65954..0c47cb109 100644 --- a/transform/livereloadinject_test.go +++ b/transform/livereloadinject_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 transform import ( diff --git a/utils/utils.go b/utils/utils.go index 7bb9e5852..3977a0e62 100644 --- a/utils/utils.go +++ b/utils/utils.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, eithe