mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 02:14:21 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
9 lines
272 B
HTML
9 lines
272 B
HTML
{{ $title := "" }}
|
|
{{ with .Params.seo.title }}
|
|
{{ $title = replace . "{brand}" site.Title }}
|
|
{{ else }}
|
|
{{ $title = .Title | default site.Title }}
|
|
{{ if ne $title site.Title }}{{ $title = printf "%s | %s" $title site.Title }}{{ end }}
|
|
{{ end }}
|
|
{{ return $title }}
|