Set default theme in config toml
This commit is contained in:
parent
1974d30be0
commit
9532cb8285
3 changed files with 15 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
{{ end }}
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body class="dark-theme">
|
||||
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue