mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
Draft:
✨ Feat: add pageStyle option (#62) TODO: refactor toc logic (#65) > Tip: This commit needs to be improved and to be tested. Please don't update to it!
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
<div class="wrapper">
|
||||
{{- partial "header.html" . -}}
|
||||
<main class="main">
|
||||
<div class="container">
|
||||
{{- $pageStyle := (.Scratch.Get "params").pageStyle | default "normal" -}}
|
||||
<div class="container" page-style="{{ $pageStyle }}">
|
||||
{{- block "content" . }}{{ end -}}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user