Adapt Layout and colors to our needs

This commit is contained in:
phil 2023-04-25 20:47:03 +02:00
parent 6e4e50a01c
commit 7cb422cc43
8 changed files with 72 additions and 9 deletions

View file

@ -19,6 +19,9 @@
{{ partial "head/microformats" . }}
{{ partial "head/others" . }}
{{ partial "head/custom" . }}
{{ if .IsHome }}
{{ partial "head/columns" . }}
{{ end }}
</head>
<body itemscope itemtype="https://schema.org/WebPage">
@ -26,7 +29,7 @@
<div
class="wrapper {{ if default false .Site.Params.GeekdocDarkModeDim }}dark-mode-dim{{ end }}"
class="wrapper {{ if default false .Site.Params.GeekdocDarkModeDim }}dark-mode-dim{{ end }} {{ if .IsHome }}home{{ end }}"
>
<input type="checkbox" class="hidden" id="menu-control" />
<input type="checkbox" class="hidden" id="menu-header-control" />
@ -41,8 +44,7 @@
</aside>
{{ end }}
<div class="gdoc-page">
<div class="gdoc-page {{ if .IsHome }}home{{ end }}">
{{ template "main" . }}