diff options
author | Alan Pearce | 2020-01-06 20:38:53 +0100 |
---|---|---|
committer | Alan Pearce | 2020-01-06 20:38:53 +0100 |
commit | 773e2d43f339e9216d7d71d0a21f38f1e36c3f44 (patch) | |
tree | fbb7b90665fe715e58b5ab27de3833dc220676a5 /layouts/_default/baseof.html | |
parent | 791259ea0c7ad71cde6f464e63b1baf14218d7b9 (diff) | |
download | hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.tar.lz hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.tar.zst hugo-xmin-773e2d43f339e9216d7d71d0a21f38f1e36c3f44.zip |
Convert to block-based templates
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..100293c --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>{{ .Title }} | {{ .Site.Title }}</title> + <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" /> + </head> + + <body> + <nav> + <ul class="menu"> + {{ range .Site.Menus.main }} + <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> + {{ end }} + </ul> + <hr/> + </nav> + + {{ block "main" . }}{{ end }} + + <footer> + {{ with .Site.Params.footer }} + <hr/> + {{ . | markdownify }} + {{ end }} + </footer> + </body> +</html> |