From 1dced62659d8ee45803b7d58b4698d613f0d90d4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 15:09:08 +0800 Subject: _{head,footer}.html: Add underscore to indicate that it's partial --- templates/_footer.html.tmpl | 3 +++ templates/_head.html.tmpl | 5 +++++ templates/footer.html.tmpl | 3 --- templates/head.html.tmpl | 5 ----- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 templates/_footer.html.tmpl create mode 100644 templates/_head.html.tmpl delete mode 100644 templates/footer.html.tmpl delete mode 100644 templates/head.html.tmpl (limited to 'templates') diff --git a/templates/_footer.html.tmpl b/templates/_footer.html.tmpl new file mode 100644 index 0000000..b7a9061 --- /dev/null +++ b/templates/_footer.html.tmpl @@ -0,0 +1,3 @@ +{{- define "footer" -}} +Lindenii Forge (source, upstream) +{{- end -}} diff --git a/templates/_head.html.tmpl b/templates/_head.html.tmpl new file mode 100644 index 0000000..b2cd487 --- /dev/null +++ b/templates/_head.html.tmpl @@ -0,0 +1,5 @@ +{{- define "head_common" -}} + + + +{{- end -}} diff --git a/templates/footer.html.tmpl b/templates/footer.html.tmpl deleted file mode 100644 index b7a9061..0000000 --- a/templates/footer.html.tmpl +++ /dev/null @@ -1,3 +0,0 @@ -{{- define "footer" -}} -Lindenii Forge (source, upstream) -{{- end -}} diff --git a/templates/head.html.tmpl b/templates/head.html.tmpl deleted file mode 100644 index b2cd487..0000000 --- a/templates/head.html.tmpl +++ /dev/null @@ -1,5 +0,0 @@ -{{- define "head_common" -}} - - - -{{- end -}} -- cgit v1.2.3