Skip to content

Commit d0b136f

Browse files
Merge pull request #33 from artem-forks/fix-main-page
Fix: avoid page header on the main page for now
2 parents 0a39657 + ba6c688 commit d0b136f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

themes/devsec/layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<!-- End Nav -->
1818

1919
<!-- Code that all your templates share, like a header -->
20-
{{ if and (ne .File.Path "community.md") (ne .Section "baselines") }}
20+
{{ if and (and (ne .File.Path "community.md") (ne .Section "baselines")) (ne .File.Path "_index.md") }}
2121
{{ partial "page-header.html" . }}
2222
{{ end }}
2323
{{ block "main" . }}

0 commit comments

Comments
 (0)