From 01eda09df376043f43bdf4cf420fb6f1c7441b82 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 3 Mar 2025 21:26:55 +0800 Subject: Add SPDX license headers to all HTML templates --- templates/_footer.tmpl | 4 ++++ templates/_head.tmpl | 4 ++++ templates/_header.tmpl | 4 ++++ templates/group_repos.tmpl | 4 ++++ templates/index.tmpl | 4 ++++ templates/login.tmpl | 4 ++++ templates/repo_commit.tmpl | 4 ++++ templates/repo_contrib_index.tmpl | 4 ++++ templates/repo_contrib_one.tmpl | 4 ++++ templates/repo_index.tmpl | 4 ++++ templates/repo_log.tmpl | 4 ++++ templates/repo_raw_dir.tmpl | 4 ++++ templates/repo_tree_dir.tmpl | 4 ++++ templates/repo_tree_file.tmpl | 4 ++++ 14 files changed, 56 insertions(+) (limited to 'templates') diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl index b4cce19..ec00e8d 100644 --- a/templates/_footer.tmpl +++ b/templates/_footer.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "footer" -}} Lindenii Forge {{ .global.forge_version }} (source, upstream) {{- end -}} diff --git a/templates/_head.tmpl b/templates/_head.tmpl index 4641107..922be7a 100644 --- a/templates/_head.tmpl +++ b/templates/_head.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "head_common" -}} diff --git a/templates/_header.tmpl b/templates/_header.tmpl index 6d0a3a2..9fb0e75 100644 --- a/templates/_header.tmpl +++ b/templates/_header.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "header" -}}
diff --git a/templates/group_repos.tmpl b/templates/group_repos.tmpl index 0ea7c75..3eae4f4 100644 --- a/templates/group_repos.tmpl +++ b/templates/group_repos.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "group_repos" -}} diff --git a/templates/index.tmpl b/templates/index.tmpl index 5f30f0c..c3b8bef 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "index" -}} diff --git a/templates/login.tmpl b/templates/login.tmpl index 3b0e74a..b31cb36 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "login" -}} diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index 4030f62..1e34604 100644 --- a/templates/repo_commit.tmpl +++ b/templates/repo_commit.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_commit" -}} diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index 6da917b..da779f8 100644 --- a/templates/repo_contrib_index.tmpl +++ b/templates/repo_contrib_index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_contrib_index" -}} diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl index 85cac10..dca8a8f 100644 --- a/templates/repo_contrib_one.tmpl +++ b/templates/repo_contrib_one.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_contrib_one" -}} diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 5f3107b..9dec745 100644 --- a/templates/repo_index.tmpl +++ b/templates/repo_index.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_index" -}} diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index ad11fae..8e33bea 100644 --- a/templates/repo_log.tmpl +++ b/templates/repo_log.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_log" -}} diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl index daf29c4..47ef69f 100644 --- a/templates/repo_raw_dir.tmpl +++ b/templates/repo_raw_dir.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_raw_dir" -}} diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index 62e113f..e520225 100644 --- a/templates/repo_tree_dir.tmpl +++ b/templates/repo_tree_dir.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_tree_dir" -}} diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index a411831..d6890b8 100644 --- a/templates/repo_tree_file.tmpl +++ b/templates/repo_tree_file.tmpl @@ -1,3 +1,7 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} {{- define "repo_tree_file" -}} -- cgit v1.2.3