From 32d164f08b3312858c39893254769e4859fe5a86 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 10 Feb 2025 19:25:44 +0800 Subject: head.html: Add a common head template I tried to define a base.html and extend it from there, but Go's templating system doesn't support that. --- templates/repo_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo_index.html') diff --git a/templates/repo_index.html b/templates/repo_index.html index aa708c4..fc2ac51 100644 --- a/templates/repo_index.html +++ b/templates/repo_index.html @@ -2,7 +2,7 @@ - + {{ template "head_common" . }} {{ .category_name }}/repos/{{ .repo_name }} -- cgit v1.2.3