mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-22 12:39:07 +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" . }}
|
||||
<div class="main">
|
||||
{{- if not .IsHome}}
|
||||
{{- if or .Title .Content }}
|
||||
<div class="page block">
|
||||
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
|
||||
{{ with .Content }}<div class="page__content">{{ . }}</div>{{ end }}
|
||||
|
|
Loading…
Reference in a new issue