Téléverser les fichiers vers "Theme-Bento/layouts/_default"
This commit is contained in:
20
Theme-Bento/layouts/_default/baseof.html
Normal file
20
Theme-Bento/layouts/_default/baseof.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Lang }}" data-theme="light">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
{{ $style := resources.Get "css/style.css" | resources.Minify }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "header.html" . }}
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
{{ $js := resources.Get "js/theme-toggle.js" | resources.Minify }}
|
||||
<script src="{{ $js.RelPermalink }}"></script>
|
||||
{{- partial "scripts.html" . -}}
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user