Per Pico CSS landmark pattern and HTML5 spec: - Site <header> with <nav> moved to baseof.html - Site <footer> moved to baseof.html - All section layouts (single, list, docs, paper, vault, index) now only define <main> content — no duplicate nav/footer - Article <header> stays inside <article> (different semantic role)
15 lines
329 B
HTML
15 lines
329 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.LanguageCode | default "en" }}">
|
|
<head>
|
|
{{- partial "head.html" . -}}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
{{ partial "nav.html" . }}
|
|
</header>
|
|
{{ block "main" . }}{{ end }}
|
|
<footer>
|
|
<small><a href="/">{{ .Site.Title }}</a> · {{ now.Format "2006" }}</small>
|
|
</footer>
|
|
</body>
|
|
</html>
|