cupper-hugo-theme/themes/infusion/layouts/_default/baseof.html

106 lines
4.7 KiB
HTML
Raw Normal View History

2017-06-15 10:41:44 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="canonical" href="{{ .Permalink }}">
2017-07-04 12:46:56 +02:00
<link rel="apple-touch-icon" sizes="57x57" href="/images/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
2017-07-12 16:20:00 +02:00
<link rel="stylesheet" href="{{ "css/prism.css" | absURL }}" />
<link rel="stylesheet" type="text/css" href="{{ "css/styles.css" | absURL }}">
2017-07-13 12:36:42 +02:00
{{ if eq .Type "patterns" }}
<script src="{{ "js/webcomponents.js" | absURL }}"></script>
{{ end }}
2017-06-15 10:41:44 +02:00
<title>
{{ block "title" . }}
{{ .Title }} | {{ .Site.Title }}
{{ end }}
</title>
</head>
<body>
2017-07-01 13:20:18 +02:00
<a href="#main">skip to content</a>
2017-06-19 11:40:21 +02:00
{{ partial "svg.html" . }}
2017-06-15 10:41:44 +02:00
<div class="wrapper">
<header class="intro-and-nav" role="banner">
<div>
<div class="intro">
<a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
2017-07-12 16:20:00 +02:00
<img src="{{ "images/logo.png" | absURL }}" alt="">
2017-06-15 10:41:44 +02:00
</a>
2017-07-10 20:53:24 +02:00
<p class="library-desc">{{ .Site.Params.Description | markdownify }}</p>
2017-06-15 10:41:44 +02:00
</div>
2017-06-30 18:14:15 +02:00
<nav id="patterns-nav" class="patterns" role="navigation">
2017-07-13 20:05:53 +02:00
<button id="menu-button" aria-expanded="false">
2017-07-23 13:16:54 +02:00
<svg viewBox="0 0 50 50" width="50" height="50">
2017-07-13 20:05:53 +02:00
<use xlink:href="#menu"></use>
</svg>
Menu
</button>
2017-06-15 10:41:44 +02:00
{{ $current := . }}
{{ range $.Site.Home.Sections }}
2017-07-01 12:48:01 +02:00
<ul id="patterns-list">
2017-06-28 11:34:21 +02:00
{{ range .Pages.ByWeight }}
2017-06-19 11:40:21 +02:00
<li class="pattern">
<a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
2017-07-13 20:05:53 +02:00
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
2017-07-01 12:48:01 +02:00
<span class="text">{{ .Title }}</span>
2017-06-19 11:40:21 +02:00
</a>
</li>
{{ end }}
2017-06-28 17:46:25 +02:00
{{ range .Sections.ByWeight }}
2017-06-19 11:40:21 +02:00
<li>
<h3>{{ .Title }}</h3>
<ul>
2017-06-28 11:34:21 +02:00
{{ range .Pages.ByWeight }}
2017-06-19 11:40:21 +02:00
<li class="pattern">
<a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
2017-07-13 20:05:53 +02:00
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
2017-07-01 12:48:01 +02:00
<span class="text">{{ .Title }}</span>
2017-06-19 11:40:21 +02:00
</a>
</li>
{{ end }}
</ul>
</li>
2017-06-15 10:41:44 +02:00
{{ end }}
</ul>
{{ end }}
</nav>
</div>
</header>
<div class="main-and-footer">
<div>
{{ block "main" . }}
{{ end }}
<footer role="contentinfo">
2017-07-13 20:05:53 +02:00
Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project.<br>
2017-07-11 17:24:52 +02:00
For general enquiries, contact us on info@paciellogroup.com.
2017-06-15 10:41:44 +02:00
</footer>
</div>
</div>
</div>
2017-06-19 11:40:21 +02:00
{{ if eq .Type "patterns" }}
2017-07-12 16:20:00 +02:00
<script src="{{ "js/prism.js" | absURL }}"></script>
2017-06-19 11:40:21 +02:00
{{ end }}
2017-07-12 16:20:00 +02:00
<script src="{{ "js/dom-scripts.js" | absURL }}"></script>
2017-07-11 17:24:52 +02:00
{{ if .Page.IsHome }}
2017-07-12 16:20:00 +02:00
<script src="{{ "js/service-worker-registration.js" | absURL }}"></script>
2017-07-11 17:24:52 +02:00
{{ end }}
2017-06-15 10:41:44 +02:00
</body>
</html>