Removed Unwanted OG Tags There were extra OG tags added as a mistake. Hugo already has a good inbuilt partial for Meta stuf
Athul Cyriac Ajay athul8720@gmail.com
Sun, 17 Jan 2021 18:31:42 +0530
1 files changed,
0 insertions(+),
11 deletions(-)
jump to
M
layouts/partials/header.html
→
layouts/partials/header.html
@@ -15,18 +15,7 @@ {{- end -}}
<meta name="viewport" content="width=device-width, initial-scale=1"> - <meta property="og:description" content="{{ .Params.description }}" /> - <meta name="twitter:description" content="{{ .Params.description }}" /> - <meta name="description" content="{{ $.Param "description" }}" /> - <meta name="description" content="{{ $.Params.description }}" /> - - <meta property="og:title" content="{{ $title }} | {{ $siteTitle }}" /> - <meta name="twitter:title" content="{{ $title }} | {{ $siteTitle }}" /> - <meta property="og:image" content="{{ .Site.Params.og_image }}"/> - <meta itemprop="name" content="{{ $title }} | {{ $siteTitle }}" /> - <meta name="application-name" content="{{ $title }} | {{ $siteTitle }}" /> - <meta property="og:site_name" content="{{ .Site.Params.sitename }}" /> {{ with .OutputFormats.Get "rss" -}} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}