Skip to content

Commit

Permalink
define main
Browse files Browse the repository at this point in the history
  • Loading branch information
diazvictor committed Jan 23, 2021
1 parent 8852874 commit 3b40731
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<!DOCTYPE html>
<html lang="">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
{{ define "main" }}
{{ if .Site.Params.sidebar.sidebar }}
<div class="columns">
<div class="column is-8">
Expand All @@ -13,6 +9,4 @@
{{ else }}
{{- partial "section.html" . -}}
{{ end }}
{{- partial "footer.html" . -}}
</body>
</html>
{{ end }}

0 comments on commit 3b40731

Please sign in to comment.