jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/_default/baseof.html

45 lines
1.7 KiB
HTML
Raw Normal View History

2019-09-03 15:50:00 +00:00
<!DOCTYPE html>
2020-01-21 19:52:29 +00:00
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
2019-09-03 15:50:00 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2019-11-19 08:22:33 +00:00
<title>{{ block "title" . }}{{ if not .IsHome }}{{ with .Title }}{{ . }} - {{end}}{{ end }}{{ .Site.Title }}{{ end }}</title>
2019-09-03 15:50:00 +00:00
<meta name="theme-color" content="{{ .Param "colors.main" | default "#0275D8" }}">
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{else}}{{ .Params.Description }}{{end}}">
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/schema.html" . }}
{{ template "_internal/twitter_cards.html" . }}
2020-03-03 18:42:10 +00:00
{{ $styles := resources.Get "css/style.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}">
2019-09-03 15:50:00 +00:00
<link rel="shortcut icon" href="{{ .Site.Params.favicon }}">
{{ range .AlternativeOutputFormats }}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end }}
{{ if .Param "original" }}
<link rel="canonical" href="{{ .Param "original" }}">
{{ else }}
<link rel="canonical" href="{{ .Permalink }}">
{{ end }}
2020-02-16 20:56:58 +00:00
{{ partialCached "indiewebhead" . (.Param "indieweb.enabled") }}
{{ partialCached "customhead" . }}
2019-09-03 15:50:00 +00:00
</head>
<body class="body">
<div class="body-container">
2020-02-16 20:56:58 +00:00
{{ partialCached "header" . }}
2019-09-03 15:50:00 +00:00
<div class="wrapper flex">
<div class="primary">
{{ block "main" . }}
{{ with .Content }}
<div class="main-content">
{{ . }}
</div>
{{ end }}
{{ end }}
</div>
</div>
2020-02-17 07:08:39 +00:00
{{ partialCached "footer" . }}
2019-09-03 15:50:00 +00:00
</div>
2020-02-16 20:56:58 +00:00
{{ partialCached "custombodyend" . }}
2019-09-03 15:50:00 +00:00
</body>
</html>