hugo-theme-bootstrap5-blog/layouts/_default/baseof.html

84 lines
2.9 KiB
HTML
Raw Permalink Normal View History

<!doctype html>
<html lang="en">
<head>
{{ partial "head-meta.html" . }}
{{ block "schema-dot-org" . }}
<!-- schema.org metadata differs for Nodes and Pages -->
{{ end }}
<link rel="canonical" href="{{ .Permalink }}">
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{ "<!-- combined, minified CSS -->" | safeHTML }}
{{ $style := resources.Get "css/style.min.css" | resources.Fingerprint }}
<link href="{{ $style.Permalink }}" rel="stylesheet" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous">
<meta name="theme-color" content="#7952b3">
2020-12-07 13:13:09 +01:00
{{ "<!-- RSS 2.0 feed -->" | safeHTML }}
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
</head>
<body>
2020-12-07 13:13:09 +01:00
<div class="container">
<header class="blog-header py-3">
<div class="row flex-nowrap justify-content-between align-items-center">
<div class="col-4 pt-1">
<a class="link-secondary" href="#">Subscribe</a>
</div>
<div class="col-4 text-center">
<a class="blog-header-logo text-dark" href="{{ .Site.BaseURL | absLangURL }}">{{ .Site.Title | safeHTML }}</a>
</div>
<div class="col-4 d-flex justify-content-end align-items-center">
<a class="link-secondary" href="#" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24"><title>Search</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg>
</a>
</div>
</div>
</header>
<div class="nav-scroller py-1 mb-2">
<nav class="nav d-flex justify-content-between">
<a class="p-2 link-secondary" href="#">World</a>
<a class="p-2 link-secondary" href="#">U.S.</a>
<a class="p-2 link-secondary" href="#">Technology</a>
<a class="p-2 link-secondary" href="#">Design</a>
<a class="p-2 link-secondary" href="#">Culture</a>
<a class="p-2 link-secondary" href="#">Business</a>
<a class="p-2 link-secondary" href="#">Politics</a>
<a class="p-2 link-secondary" href="#">Opinion</a>
<a class="p-2 link-secondary" href="#">Science</a>
<a class="p-2 link-secondary" href="#">Health</a>
<a class="p-2 link-secondary" href="#">Style</a>
<a class="p-2 link-secondary" href="#">Travel</a>
</nav>
</div>
</div>
<main class="container">
2020-12-07 13:13:09 +01:00
{{ block "body" . }}
2020-12-07 13:13:09 +01:00
{{ block "main" . }}
<!-- The part of the page that begins to differ between templates -->
{{ end }}
2020-12-07 13:13:09 +01:00
{{ partialCached "sidebar.html" . }}
2020-12-07 13:13:09 +01:00
</div>{{ "<!-- /.row -->" | safeHTML }}
2020-12-07 13:13:09 +01:00
{{ end }}
2020-12-07 13:13:09 +01:00
</main>{{ "<!-- /.container -->" | safeHTML }}
2020-12-07 13:13:09 +01:00
{{ partialCached "footer.html" . }}
</body>
</html>
2020-12-07 13:13:09 +01:00
{{- /* vim: set ts=2 sw=2 et: */}}