{{ define "main" }} {{- /* The schema's overview: where its file is, its diagram, and gen-doc's index of every element by kind. A kind's own page lists that kind alone. */ -}}
{{- if ne .Params.schemaKind "schema" }}

{{ .Parent.Title }}

{{ .Title }}

{{- else }}

LinkML schema

{{ .Title }}

{{- with .Params.description }}

{{ partial "inline.html" . }}

{{ end }} {{- with partialCached "schema-file.html" "schema-file" }} {{- if .core }}

This repository holds no LinkML schema of its own, so the site shows the one its knowledge bundle is written in, LOKF {{ .core }}.

{{- end }}

Schema file: {{ path.Base .file.RelPermalink }}, from {{- if .path }} {{ .path }} {{- else }} the lokf {{ .core }} package the sidecar installs {{- end }}

{{- end }} {{ partial "content.html" . }} {{- end }}
{{ end }}