mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-12-02 14:34:56 +03:00
27 lines
735 B
HTML
27 lines
735 B
HTML
<!DOCTYPE html>
|
|
<html lang="{{ $.Site.Language }}">
|
|
<head>
|
|
{{ block "title" . }}
|
|
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }}</title>
|
|
{{ end }}
|
|
{{ partial "head.html" . }}
|
|
</head>
|
|
<body class="">
|
|
{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }}
|
|
|
|
<div class="{{- $container -}}">
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<div class="content">
|
|
{{ block "main" . }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ block "footer" . }}
|
|
{{ partial "footer.html" . }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|