mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 12:11:45 +00:00
17 lines
583 B
HTML
17 lines
583 B
HTML
{{- define "main" -}}
|
|
|
|
{{/* Check that user fully installed Hugo Blox Kit. */}}
|
|
{{/* Commented out to allow user to have no params.yaml and just use the defaults. */}}
|
|
{{/* if not (isset site.Params "seo") */}}
|
|
{{/* errorf "Please complete the installation of Hugo Blox Kit by following the steps at https://docs.hugoblox.com/" */}}
|
|
{{/* end */}}
|
|
|
|
{{/* Deprecation warnings */}}
|
|
{{/* Add here... */}}
|
|
|
|
{{/* Generate homepage. */}}
|
|
{{/* if eq .Type "landing" */}}{{/* Uncomment check once support other content types on homepage. */}}
|
|
{{ partial "landing_page.html" . }}
|
|
|
|
{{- end -}}
|