Skip to content

Commit 8308bd2

Browse files
author
Alban Bailly
committed
adding meta for better SEO
1 parent 208d1f6 commit 8308bd2

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

content/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
title: "Developer Tools"
33
subtitle: "By developers for developers"
4+
Description: Developer Tools, By developers for developers
45
---

content/changelog/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "Changelog"
33
subtitle: Latest updates from the Linode team
4+
Description: Latest updates from the Linode team
45
date: 2018-06-13T08:55:08-04:00
56
draft: false
67
---

content/guides/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: "Guides"
33
subtitle: Get started building tools and apps using the Linode API
4+
Description: Get started building tools and apps using the Linode API
45
author:
56
name: Josh Sager
67

content/libraries-tools/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Libraries & Tools
33
subtitle: What you need to integrate the Linode API with your application
4+
Description: What you need to integrate the Linode API with your application
45
author:
56
name: Josh Sager
67

themes/dlc/layouts/partials/0_utilities/htmlHead.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,17 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<title>{{ .Title }} | {{ .Site.Title }}</title>
99
<meta name="author" content='{{ .Site.Author.name }}' />
10-
1110
{{ if .Keywords }}
1211
<meta name="keywords" content='{{ delimit .Keywords ", " }}'>
1312
{{ else if .Site.Params.DefaultKeywords }}
1413
<meta name="keywords" content='{{ delimit .Site.Params.DefaultKeywords ", " }}'>
1514
{{ end }}
16-
1715
{{ if .Description }}
1816
<meta name="description" content='{{ .Description }}'>
1917
{{ else if .Site.Params.DefaultDescription }}
2018
<meta name="description" content='{{ .Site.Params.DefaultDescription }}'>
2119
{{ end }}
22-
20+
<meta content="{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}" property="og:title">
2321
{{ .Hugo.Generator }}
2422

2523
{{ partial "0_utilities/fonts.html" . }}

0 commit comments

Comments
 (0)