Add automatic dark/light theme switching based on os
This commit is contained in:
parent
8035db5c05
commit
79d0488087
16 changed files with 28 additions and 72 deletions
|
@ -5,7 +5,7 @@
|
|||
</head>
|
||||
|
||||
{{ block "body" . }}
|
||||
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
|
||||
<body>
|
||||
{{ end }}
|
||||
|
||||
<div class="container">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue