diff --git a/_config.yml b/_config.yml index 11e56625b..ed5167d0d 100644 --- a/_config.yml +++ b/_config.yml @@ -18,6 +18,11 @@ defaults: path: "" values: sitemap: false + image: + path: /images/og-image.png + width: 1024 + height: 640 + alt: "PHP: The Right Way" # Excludes should be appended to the default # https://github.com/jekyll/jekyll/blob/master/lib/site_template/_config.yml#L37-L55 @@ -27,7 +32,9 @@ exclude: - gemfiles/ - Gemfile - Gemfile.lock + - Gruntfile.js - node_modules/ + - package.json - vendor/bundle/ - vendor/cache/ - vendor/gems/ @@ -39,3 +46,8 @@ exclude: - pages/example.md future: true + +title: "PHP: The Right Way" +tagline: Reference for PHP best practices +description: An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web +logo: /images/og-image.png diff --git a/_layouts/default.html b/_layouts/default.html index 5a4619fe4..ad1fa9f49 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,17 +2,11 @@ - {% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way - + + {% seo %} + - - - - - - - - + diff --git a/_layouts/page.html b/_layouts/page.html index 35cc1088a..b451a1d46 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,17 +2,11 @@ - {% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way - + + {% seo %} + - - - - - - - - + diff --git a/index.html b/index.html index aaa39c0ff..783d6365e 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,5 @@ --- layout: default -description: "An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web" sitemap: true ---