diff --git a/config.go b/config.go index 253c3c8..6767e34 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,19 @@ +/* + Copyright 2021 Arsen Musayelyan + + 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 main // Conf struct stores root of TOML config diff --git a/extra.go b/extra.go index c9feb7b..abe45fe 100644 --- a/extra.go +++ b/extra.go @@ -1,3 +1,19 @@ +/* + Copyright 2021 Arsen Musayelyan + + 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 main import ( diff --git a/main.go b/main.go index 3b0dbbb..7710b22 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,19 @@ +/* + Copyright 2021 Arsen Musayelyan + + 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 main import ( diff --git a/resources/templates/base.html b/resources/templates/base.html index 6830cf4..3a51b03 100644 --- a/resources/templates/base.html +++ b/resources/templates/base.html @@ -1,3 +1,18 @@ +{{- /* + Copyright 2021 Arsen Musayelyan + + 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. +*/ -}} {{define "head"}} {{.SiteTitle}} - {{.PageTitle}} diff --git a/resources/templates/error.html b/resources/templates/error.html index 6da92f3..a829c3f 100644 --- a/resources/templates/error.html +++ b/resources/templates/error.html @@ -1,4 +1,19 @@ +{{- /* + Copyright 2021 Arsen Musayelyan + + 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. +*/ -}} {{template "head" dict diff --git a/resources/templates/home.html b/resources/templates/home.html index daffcf3..ea6718a 100644 --- a/resources/templates/home.html +++ b/resources/templates/home.html @@ -1,4 +1,19 @@ +{{- /* + Copyright 2021 Arsen Musayelyan + + 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. +*/ -}} {{template "base.html"}} diff --git a/resources/templates/login.html b/resources/templates/login.html index db20baf..a24d177 100644 --- a/resources/templates/login.html +++ b/resources/templates/login.html @@ -1,4 +1,19 @@ +{{- /* + Copyright 2021 Arsen Musayelyan + + 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. +*/ -}} {{template "base.html"}} diff --git a/routes.go b/routes.go index 48230c3..69f47c0 100644 --- a/routes.go +++ b/routes.go @@ -1,3 +1,19 @@ +/* + Copyright 2021 Arsen Musayelyan + + 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 main import ( diff --git a/template.go b/template.go index 496de4a..1394a14 100644 --- a/template.go +++ b/template.go @@ -1,3 +1,19 @@ +/* + Copyright 2021 Arsen Musayelyan + + 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 main import (