{{- /* head.html (partial): Defines the head HTML structure for Alpha. Features: - Metadata for theme and SEO - Favicon placed in `static/img/` Dependencies: - `partial "head/inline-js.html"` - `partial "head/css.html"` - `partial "head/js.html"` - `partial "head/seo/twitter-cards.html"` - `partial "head/seo/schema.html"` - `partial "head/seo/open-graph.html"` - `partialCached "head/ocd.html"` Repo: https://github.com/oxypteros/alpha */ -}} {{- /* Theme Colors Meta */}} {{ if .IsHome }} {{- .Title | default site.Title }} {{- else }} {{- printf "%s | %s" .Title site.Title | htmlUnescape }} {{- end }} {{- with .Description }} {{- end }} {{- /* Head partials: scripts, css and SEO */}} {{ partialCached "head/inline-js.html" . }} {{- partialCached "head/css.html" . }} {{- partialCached "head/js.html" . }} {{- partial "head/seo/twitter-cards.html" . }} {{- partial "head/seo/schema.html" . }} {{- partial "head/seo/open-graph.html" . }} {{- /* Favicons */}} {{- /* OCD partial */}} {{ partialCached "head/ocd.html" . }}