Hugo Dark Theme Site Generator https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 416B

123456789101112131415161718
  1. {{ define "title" -}}
  2. {{ .Site.Title }}
  3. {{- end }}
  4. {{ define "header" }}
  5. {{ partial "menu.html" . }}
  6. {{ end }}
  7. {{ define "main" }}
  8. <header>
  9. <h1>{{ .Title }}</h1>
  10. </header>
  11. {{ range (.Paginate (where .Data.Pages "Type" "post")).Pages }}
  12. {{ partial "page-summary.html" . }}
  13. {{ end }}
  14. {{ end }}
  15. {{ define "footer" }}
  16. {{ partial "pagination.html" . }}
  17. {{ partial "powered-by.html" . }}
  18. {{ end }}