mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 21:58:28 +00:00
Fix condition
This commit is contained in:
parent
2cd9ed5bc2
commit
5bd4fd7709
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
<div class="main">
|
<div class="main">
|
||||||
{{- if not .IsHome}}
|
{{- if or .Title .Content }}
|
||||||
<div class="page block">
|
<div class="page block">
|
||||||
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
||||||
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue