add tella theme

This commit is contained in:
2023-08-07 10:59:23 +02:00
parent 35bc0c2cac
commit e203dc7597
107 changed files with 4495 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{{/*
Add/Edit SEO Scratch Object
@author The New Dynamic
@access public
@context Page
User does not load the partial, as the component will.
This allows to overwrite some SEO object keys with project's own.
Project's partial should live under `layouts/partials/seo/extend.html`
@example - In Partial
{{- if eq "Type" "recipe" -}}
{{- .Scratch.SetInMap "seo" "type" "article" -}}
{{- end -}}
{{- $locales := dict "fr" "fr_FR" "en" "en_US" -}}
{{- .Scratch.SetInMap "seo" "locale" (index $locales .Lang) -}}
{{- if .IsHome -}}
{{- .Scratch.SetInMap "seo" "title" "Welcome Home" -}}
{{- end -}}
*/}}