all repos — archie @ 02b2654b939b6a5a989535310526b15333a54dc8

A minimal Hugo Theme

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
commit

02b2654b939b6a5a989535310526b15333a54dc8

parent

8a286dd90d95c32dff42c1a0ea21139b4d636bce

1 files changed, 0 insertions(+), 11 deletions(-)

jump to
M layouts/partials/header.htmllayouts/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 -}}