mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2025-03-18 20:30:51 +03:00
set default values for FullWidthTheme and CenterTheme. fixes 278
This commit is contained in:
parent
b11b5bf012
commit
a3dd8c11f0
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
|
||||
{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }}
|
||||
{{ $container := cond ($.Site.Params.FullWidthTheme | default false) "container full" (cond ($.Site.Params.CenterTheme | default false) "container center" "container") }}
|
||||
|
||||
<div class="{{- $container -}}{{- cond ($.Site.Params.oneHeadingSize | default true) " headings--one-size" "" }}">
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue