hugoWebsite/layouts/partials/meta.html

9 lines
571 B
HTML
Raw Normal View History

2022-10-29 00:20:35 +02:00
<title itemprop="name">{{if .IsHome}} {{ $.Site.Params.description }} | {{ .Title }}
{{else}} {{ .Title }} | {{ .Site.Title }} {{end}}
</title>
<meta name="description" content="{{ .Params.description }}" />
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}" />
<meta name="twitter:title" content="{{ .Title }} | {{ .Site.Title }}" />
<meta itemprop="name" content="{{ .Title }} | {{ .Site.Title }}" />
<meta name="application-name" content="{{ .Title }} | {{ .Site.Title }}" />
<meta property="og:site_name" content="{{ .Site.Params.sitename }}" />