diff options
author | Runxi Yu <me@runxiyu.org> | 2025-01-03 20:48:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-01-03 20:48:53 +0800 |
commit | 0888f273e817c9d860d8d92dde176509637ed0b5 (patch) | |
tree | ecd20d27a489b21d5584fea2f7a7a41c3371c89f /layouts/_default/baseof.html | |
download | website-master.tar.gz website-master.tar.zst website-master.zip |
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..359e544 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title> + {{ $style := resources.Get "style.css" | resources.Minify | resources.Fingerprint }} + <link rel="stylesheet" href="{{ $style.RelPermalink }}" /> + </head> + <body> + {{ block "main" . }} + {{ end }} + {{ block "footer" . }} + {{ end }} + </body> +</html> + + |