aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.html
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-10 19:25:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-10 19:27:16 +0800
commit32d164f08b3312858c39893254769e4859fe5a86 (patch)
tree43170d92add5ad47af5fbcd518b7cdba1e383b04 /templates/repo_index.html
parent*.html: Reindent (diff)
downloadforge-32d164f08b3312858c39893254769e4859fe5a86.tar.gz
forge-32d164f08b3312858c39893254769e4859fe5a86.tar.zst
forge-32d164f08b3312858c39893254769e4859fe5a86.zip
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.
Diffstat (limited to 'templates/repo_index.html')
-rw-r--r--templates/repo_index.html2
1 files changed, 1 insertions, 1 deletions
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 @@
<!DOCTYPE html>
<html>
<head>
- <link rel="stylesheet" href="/static/style.css" />
+ {{ template "head_common" . }}
<title>{{ .category_name }}/repos/{{ .repo_name }}</title>
</head>
<body class="repo-index">