mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-23 22:48: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" }}
|
||||
<main class="main">
|
||||
{{- if .Content }}
|
||||
{{- with .Content }}
|
||||
<div class="page block">
|
||||
{{ with .Content }}<div class="page__content page__content--notitle">{{ . }}</div>{{ end }}
|
||||
<div class="page__content page__content--notitle">{{ . }}</div>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- $mainSections := .Site.Params.mainSections }}
|
||||
|
|
Loading…
Reference in a new issue