We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace line 4 of layouts/_default/baseof.html w/ <body{{ with .Params.layout }} class="{{ . }}"{{ end }}>
layouts/_default/baseof.html
<body{{ with .Params.layout }} class="{{ . }}"{{ end }}>
The text was updated successfully, but these errors were encountered:
{{ if eq .Kind "home" -}} {{ .Scratch.Set "class" "home" }} {{ else if eq .Kind "404" -}} {{ .Scratch.Set "class" "error404" }} {{ else if eq .Kind "page" -}} {{ .Scratch.Set "class" .Type }} {{ .Scratch.Add "class" " single" }} {{ else -}} {{ .Scratch.Set "class" .Type }} {{ .Scratch.Add "class" " list" }} {{ end -}} <body class="{{ .Scratch.Get "class" }}">
Sorry, something went wrong.
h-enk
No branches or pull requests
Replace line 4 of
layouts/_default/baseof.html
w/<body{{ with .Params.layout }} class="{{ . }}"{{ end }}>
The text was updated successfully, but these errors were encountered: