Updated SEO metadata information.
This commit is contained in:
parent
3de08947c6
commit
3e6d2218db
|
@ -5,6 +5,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
|
||||||
<meta name="theme-color" content="#FF8E03">
|
<meta name="theme-color" content="#FF8E03">
|
||||||
|
|
||||||
{{ .Hugo.Generator }}
|
{{ .Hugo.Generator }}
|
||||||
|
|
||||||
<link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" />
|
<link rel="icon" href="{{ .Site.BaseURL }}favicon.ico" />
|
||||||
|
@ -12,12 +13,23 @@
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
{{ if .RSSLink }}
|
{{ if .RSSLink }}
|
||||||
<link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||||
<link href="{{ .Site.BaseURL }}index.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<link href="{{ .Site.BaseURL }}index.xml" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<title>{{ if .IsHome }}Homepage{{ else }}{{ .Title }}{{ end }} | {{ .Site.Title }} | Nintendo 3DS Emulator</title>
|
||||||
|
|
||||||
|
<!-- Meta Properties -->
|
||||||
<meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
<meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
||||||
|
|
||||||
|
{{ if (eq .Section "game") }}
|
||||||
|
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
|
||||||
|
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}">
|
||||||
|
{{ else }}
|
||||||
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}" />
|
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}" />
|
||||||
|
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Summary }}{{ end }}">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||||
<meta property="og:url" content="{{ .Permalink }}" />
|
<meta property="og:url" content="{{ .Permalink }}" />
|
||||||
|
|
||||||
|
@ -35,10 +47,7 @@
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<!-- End Meta Properties -->
|
||||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
|
||||||
|
|
||||||
<title>{{ if .IsHome }}Homepage{{ else }}{{ .Title }}{{ end }} | {{ .Site.Title }} | Nintendo 3DS Emulator</title>
|
|
||||||
|
|
||||||
{{ if eq (getenv "GULP") "true" }}
|
{{ if eq (getenv "GULP") "true" }}
|
||||||
<link rel="stylesheet" href="/css/main.css"/>
|
<link rel="stylesheet" href="/css/main.css"/>
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
|
|
||||||
<loc>{{ .Permalink }}</loc>
|
<loc>{{ .Permalink }}</loc>
|
||||||
|
|
||||||
{{ if (eq .Section "game") }}
|
|
||||||
<description>{{ $rating.name }} - {{ $rating.description }}</description>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if (eq .Section "entry") }}
|
{{ if (eq .Section "entry") }}
|
||||||
<image:image>
|
<image:image>
|
||||||
<image:loc>{{ .Site.BaseURL }}images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}</image:loc>
|
<image:loc>{{ .Site.BaseURL }}images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}</image:loc>
|
||||||
|
|
Reference in New Issue