hugo-theme-terminal

My Fork of the Terminal Hugo Theme
git clone https://git.repetitions.de/hugo-theme-terminal

baseof.html (1014B)


 1 <!DOCTYPE html>
 2 <html lang="{{ $.Site.Language }}">
 3   <head>
 4     {{- block "title" . }}
 5       <title>
 6         {{- if .IsHome -}}
 7           {{- $.Site.Title -}}
 8         {{- else -}}
 9           {{- .Title }} :: {{ $.Site.Title -}}
10         {{- end -}}
11       </title>
12     {{- end }}
13     {{- partial "head.html" . -}}
14   </head>
15   <body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
16     <script>0</script>
17     {{- $container := cond
18     ($.Site.Params.FullWidthTheme | default false)
19     "container full"
20     (cond ($.Site.Params.CenterTheme | default false)
21       "container center" "container") }}
22     <div class="{{- $container -}}
23                 {{- cond ($.Site.Params.oneHeadingSize | default true)
24                 " headings--one-size" "" -}}">
25 
26       {{- partial "header.html" . -}}
27 
28       <div class="content">
29         {{- block "main" . -}}
30         {{- end -}}
31       </div>
32 
33       {{- block "footer" . -}}
34         {{- partial "footer.html" . -}}
35       {{- end -}}
36     </div>
37   </body>
38 </html>
39