Files
bridget/layouts/partials/head/meta.html
Sped0n 7d4bed3ba6 feat: use absolute URLs for assets
closes #473, closes #476

Signed-off-by: Sped0n <hi@sped0n.com>
2025-11-12 00:10:06 +08:00

23 lines
930 B
HTML

{{- /* Title */ -}}
{{- $page_title := "" -}}
{{- with partial "function/currentMenuItem.html" . -}}
{{- $page_title = printf "%s" site.Title | printf "%s%s" " | " | printf "%s%s" .Title | printf "%s" -}}
{{- end -}}
<title>{{- $page_title -}}</title>
{{- /* Basic */ -}}
<meta name="Description" content="{{- site.Params.description -}}" />
<meta name="application-name" content="{{- $page_title -}}" />
<meta name="apple-mobile-web-app-title" content="{{- $page_title -}}" />
{{- /* Opengraph */ -}}
<meta property="og:title" content="{{- $page_title -}}" />
<meta name="twitter:title" content="{{- $page_title -}}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{- .Permalink -}}" />
<meta property="og:description" content="{{- site.Params.description -}}" />
<meta name="twitter:description" content="{{- site.Params.description -}}" />
{{- /* Generator */ -}}
{{- hugo.Generator -}}