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

79 lines
3.1 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 }}">
<link href="https://fonts.googleapis.com/css?family=Miriam+Libre:700&text=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%26" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" rel="stylesheet">
<link rel="stylesheet" href="/css/prism.css" />
<link rel="stylesheet" type="text/css" href="/css/styles.css">
<title>
{{ block "title" . }}
{{ .Title }} | {{ .Site.Title }}
{{ end }}
</title>
</head>
<body>
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">
<img src="{{ .Site.BaseURL }}images/logo.png" alt="">
</a>
<p class="library-desc">{{ .Site.Params.Description | safeHTML }}</p>
</div>
2017-06-30 18:14:15 +02:00
<nav id="patterns-nav" class="patterns" role="navigation">
2017-06-15 10:41:44 +02:00
{{ $current := . }}
{{ range $.Site.Home.Sections }}
<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 }}>
<svg class="bookmark" aria-hidden="true" height="50" width="40" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
<span>{{ .Title }}</span>
</a>
</li>
</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 }}>
<svg class="bookmark" aria-hidden="true" height="50" width="40" viewBox="0 0 40 50"><use xlink:href="#bookmark"></use></svg>
<span>{{ .Title }}</span>
</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-06-29 10:53:55 +02:00
Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project<br>
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" }}
<script src="/js/prism.js"></script>
{{ end }}
2017-06-15 10:41:44 +02:00
<script src="/js/dom-scripts.js"></script>
</body>
</html>