Merge commit 'e186c5d6f740bbdb62d2c6ea304977603a55e59a' as 'themes/paperesque'
This commit is contained in:
53
themes/paperesque/layouts/_default/baseof.html
Normal file
53
themes/paperesque/layouts/_default/baseof.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
lang="{{ .Site.LanguageCode }}"
|
||||
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"
|
||||
>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
{{ partial "meta.html" . }}
|
||||
|
||||
<title>{{ .Title }}{{ if ne $.Site.Title .Title }} || {{ $.Site.Title }}{{ end }}</title>
|
||||
<link rel="canonical" href="{{ .Permalink }}" />
|
||||
|
||||
{{ with .Site.Params.RSSCanonicalLink }}
|
||||
<link rel="alternate" type="application/rss+xml" href="{{ . | absURL }}" title="{{$.Site.Title}}" />
|
||||
{{ else }}
|
||||
{{- with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
||||
{{ partial "head_includes.html" . }}
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
</head>
|
||||
<body
|
||||
class="{{ block "body-classes" . }}{{ end }}"
|
||||
lang="{{ .Site.LanguageCode }}">
|
||||
<div class="nav-bkg">
|
||||
<nav class="content-container pagewide-bar-padding">
|
||||
<span class="divider">/ </span>
|
||||
<a href="{{ .Site.Home.RelPermalink }}" >{{ .Site.Title }}</a>
|
||||
{{ block "breadcrumbs" . }}
|
||||
{{- with .Parent -}}
|
||||
{{- if not .IsHome -}}
|
||||
<span class="divider">/ </span>
|
||||
<a href="{{ .RelPermalink }}">
|
||||
{{- with .Params.breadcrumb_label -}}
|
||||
{{- . -}}
|
||||
{{- else -}}
|
||||
{{- .Title -}}
|
||||
{{- end -}}
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ partial "right-links" . }}
|
||||
</nav>
|
||||
</div>
|
||||
{{ block "content" . }}{{ end }}
|
||||
{{ block "footer" .}}{{ end }}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user