Browse Source

Add baseof template

master
maiki 1 month ago
parent
commit
0d124bf719
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      layouts/_default/baseof.html

+ 19
- 0
layouts/_default/baseof.html View File

@@ -0,0 +1,19 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ block "title" .}}{{- .Title -}}{{ end }}</title>
<link href="{{ "css/style.css" | absURL }}" rel="stylesheet" type="text/css">
</head>
<body>
<main>
{{- block "main" . -}}
<header>
<h1>{{- .Title -}}</h1>
</header>
{{ .Content }}
{{ end }}
</main>
</body>
</html>

Loading…
Cancel
Save