mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
{{- partial "init/index.html" . -}}
|
|
|
|
<!DOCTYPE html>
|
|
<html itemscope itemtype="http://schema.org/WebPage" lang="{{ .Site.Language.Locale }}">
|
|
<head>
|
|
{{- if .IsHome | and (ne .Site.Params.disableThemeInject true) }}
|
|
<meta name="theme" content='FixIt {{ hugo.Store.Get "version" }}'>
|
|
{{- end }}
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
|
|
<meta name="robots" content="noodp" />
|
|
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
|
{{- partial "base/head/index.html" . -}}
|
|
</head>
|
|
<body data-instant-intensity="viewport" data-header-desktop="{{ .Site.Params.header.desktopMode }}" data-header-mobile="{{ .Site.Params.header.mobileMode }}">
|
|
{{- /* Body wrapper */ -}}
|
|
<div class="wrapper" data-page-style="{{ (partial `function/params.html`).pageStyle | default `normal` }}">
|
|
{{- partial "base/header.html" . -}}
|
|
{{- partial "base/breadcrumb.html" . -}}
|
|
{{- $toc := .Store.Get "toc" -}}
|
|
<main class="fi-container"{{ if (eq $toc.enable true) | and (eq $toc.position `left`) }} data-reverse{{ end }}>
|
|
{{- block "content" . }}{{ end -}}
|
|
</main>
|
|
{{- /* Comment */ -}}
|
|
{{- block "comments" . }}{{ end -}}
|
|
{{- /* Footer */ -}}
|
|
{{- partialCached "base/footer.html" . -}}
|
|
</div>
|
|
|
|
{{- /* Theme widgets */ -}}
|
|
{{- partial "base/widgets.html" . -}}
|
|
|
|
{{- /* Load JavaScript scripts and CSS */ -}}
|
|
{{- partial "base/assets.html" . -}}
|
|
</body>
|
|
</html>
|