diff options
Diffstat (limited to 'layouts/_default')
-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..15e87f0 --- /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"> + <link href="css/style.css" rel="stylesheet"> + <title>{{ block "title" . }} {{ .Site.Title }} {{ end }}</title> + </head> + <body> + <!-- Code that all your templates share, like a header --> + {{- block "main" . -}} + <!-- The part of the page that begins to differ between templates --> + {{- end -}} + {{- block "footer" . -}} + <!-- More shared code, perhaps a footer but that can be overridden if need be in --> + {{- end -}} + </body> +</html> |