Skip to content

Commit 3e59143

Browse files
committed
Add meta description
1 parent 66736f4 commit 3e59143

5 files changed

Lines changed: 9 additions & 3 deletions

File tree

_config.local.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: CSS Reference
2-
description: A free visual guide to the most popular CSS properties.
2+
subtitle: "A free visual guide to the most popular CSS properties"
3+
description: "CSS Reference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples."
34
share: "CSS Reference: a free visual guide to the most popular CSS properties."
45
url: http://localhost:4000
56
markdown: kramdown

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
title: CSS Reference
2-
description: A free visual guide to the most popular CSS properties.
2+
subtitle: "A free visual guide to the most popular CSS properties"
3+
description: "CSS Reference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples."
34
share: "CSS Reference: a free visual guide to the most popular CSS properties."
45
url: http://cssreference.io
56
markdown: kramdown

_layouts/collection.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<meta name="viewport" content="width=device-width">
77
<title>{{page.collection_name}} - {{site.title}}</title>
8+
<meta name="description" content="Learn how {{page.collection_name}} works in CSS.">
89
<link rel="stylesheet" type="text/css" href="{{site.url}}/css/website.css">
910

1011
<meta property="og:url" content="{{site.url}}{{page.url}}">

_layouts/single.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
66
<meta name="viewport" content="width=device-width">
77
<title>{{page.property_name}} - {{site.title}}</title>
8+
<meta name="description" content="Learn how {{page.property_name}} works in CSS.">
89
<link rel="stylesheet" type="text/css" href="{{site.url}}/css/website.css">
910

1011
<meta property="og:url" content="{{site.url}}{{page.url}}">

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
<meta charset="UTF-8">
99
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
1010
<meta name="viewport" content="width=device-width">
11-
<title>{{site.title}} - {{site.description}}</title>
11+
<title>{{site.title}} - {{site.subtitle}}</title>
12+
<meta name="description" content="{{site.description}}">
13+
1214
<link rel="stylesheet" type="text/css" href="{{site.url}}/css/website.css">
1315

1416
<meta property="og:url" content="{{site.url}}">

0 commit comments

Comments
 (0)