diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-10 19:25:44 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-10 19:27:16 +0800 |
commit | 32d164f08b3312858c39893254769e4859fe5a86 (patch) | |
tree | 43170d92add5ad47af5fbcd518b7cdba1e383b04 /templates/index.html | |
parent | *.html: Reindent (diff) | |
download | forge-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/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index be02d7c..cbf7012 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ <!DOCTYPE html> <html> <head> - <link rel="stylesheet" href="/static/style.css" /> + {{ template "head_common" . }} <title>Forge</title> </head> <body class="index"> |