mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-24 15:08:35 +00:00
Remove extra if statement
This commit is contained in:
parent
2cf17c04e1
commit
07ae2416c1
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main class="main">
|
<main class="main">
|
||||||
{{- if .Content }}
|
{{- with .Content }}
|
||||||
<div class="page block">
|
<div class="page block">
|
||||||
{{ with .Content }}<div class="page__content page__content--notitle">{{ . }}</div>{{ end }}
|
<div class="page__content page__content--notitle">{{ . }}</div>
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $mainSections := .Site.Params.mainSections }}
|
{{- $mainSections := .Site.Params.mainSections }}
|
||||||
|
|
Loading…
Reference in a new issue