2016-03-17 11:01:39 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en" class="js csstransforms3d">
|
|
|
|
<head>
|
2016-03-17 20:40:58 +00:00
|
|
|
{{ partial "meta.html" . }}
|
|
|
|
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
|
|
|
|
{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
|
|
|
|
<title>{{ .Scratch.Get "title" }}</title>
|
|
|
|
{{ partial "head_includes.html" . }}
|
2016-03-17 11:01:39 +00:00
|
|
|
</head>
|
2016-03-17 16:48:18 +00:00
|
|
|
<body class="" data-url="/">
|
2016-03-17 11:01:39 +00:00
|
|
|
{{ partial "menu.html" . }}
|
|
|
|
<section id="body">
|
|
|
|
<div id="overlay"></div>
|
|
|
|
|
|
|
|
<div class="padding highlightable">
|
|
|
|
<a href="#" id="sidebar-toggle" data-sidebar-toggle="">
|
|
|
|
<i class="fa fa-2x fa-bars"></i>
|
|
|
|
</a>
|
|
|
|
<div id="top-bar">
|
2016-03-17 20:05:42 +00:00
|
|
|
|
2016-03-17 13:10:43 +00:00
|
|
|
{{ if and .IsPage .Site.Params.editURL }}
|
|
|
|
{{ $File := .File }}
|
|
|
|
{{ $Site := .Site }}
|
|
|
|
{{with $File.Path }}
|
2016-03-17 11:01:39 +00:00
|
|
|
<div id="top-github-link">
|
2016-03-17 13:10:43 +00:00
|
|
|
<a class="github-link" href="{{ $Site.Params.editURL }}{{ $File.Dir }}{{ $File.LogicalName }}" target="blank">
|
2016-03-21 15:58:15 +00:00
|
|
|
<i class="fa fa-code-fork"></i>
|
|
|
|
Edit this page
|
2016-03-17 11:01:39 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2016-03-17 13:10:43 +00:00
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
2016-03-17 11:01:39 +00:00
|
|
|
<div id="breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
|
2016-03-17 20:05:42 +00:00
|
|
|
{{ if and (not .Params.chapter) (.Params.toc) }}
|
|
|
|
<span id="toc-menu"><a href=""><i class="fa fa-ellipsis-v"></i></a></span>
|
|
|
|
{{ end }}
|
2016-03-17 13:10:43 +00:00
|
|
|
{{ $type := .Type }}
|
|
|
|
{{ $relLink := .RelPermalink }}
|
|
|
|
{{ range $name , $value := .Site.Sections }}
|
|
|
|
{{ if eq $name $type }}
|
|
|
|
{{ $first := (index $value 0).Page }}
|
|
|
|
{{ if ne $first.RelPermalink $relLink }}
|
|
|
|
<a href="{{ $first.RelPermalink }}" itemprop="url"><span itemprop="title">{{ $first.Title }}</span></a> <i class="fa fa-angle-right"></i>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ with .Title }}<span itemprop="title"> {{ . }}</span>{{ end }}
|
2016-03-17 11:01:39 +00:00
|
|
|
</div>
|
2016-03-17 20:05:42 +00:00
|
|
|
{{ if .Params.toc }}
|
|
|
|
{{ partial "toc.html" . }}
|
|
|
|
{{ end }}
|
2016-03-17 13:10:43 +00:00
|
|
|
|
2016-03-17 11:01:39 +00:00
|
|
|
</div>
|
|
|
|
{{ if .Params.chapter }}
|
|
|
|
<div id="chapter">
|
|
|
|
{{ end }}
|
|
|
|
<div id="body-inner">
|
|
|
|
{{ if not .Params.chapter }}
|
|
|
|
<h1>{{.Title}}</h1>
|
|
|
|
{{ end }}
|