{{ define "main" }}
{{- with and (not (resources.Get "gendoc/core.txt")) (site.GetPage "/schema") }} {{- /* A repository that holds a LinkML schema of its own leads with it: the schema is what the visitor came to see. LOKF core, shown when it holds none, has only its button. */ -}}

On exhibit ยท LinkML schema

{{ .Title }}

{{- with .Params.description }}

{{ partial "inline.html" . }}

{{ end }} {{- with .GetPage "classes" }} {{- end }} {{ partial "heroes.html" . }}
{{- else }} {{ partial "heroes.html" . }} {{- end }} {{- with partial "content.html" . }} {{ . }} {{- else }} {{- /* A repository with no README opens with the bundle's own introduction. */ -}}

{{ site.Title }}

{{ site.Params.description }}

{{- with site.GetPage "/knowledge" }}{{ partial "content.html" . }}{{ end }} {{- end }}
{{ end }}