Permalink
Browse files

Changed meta descriptions and og:url to show proper information. (#517)

  • Loading branch information...
1 parent 636cf23 commit 96708a0954c40254079b6620022662ec59f9320c @devleoper devleoper committed with brain-geek Jul 16, 2016
Showing with 4 additions and 5 deletions.
  1. +3 −3 _includes/head.html
  2. +1 −2 _layouts/default.html
View
@@ -5,13 +5,13 @@
<link href="http://gmpg.org/xfn/11" rel="profile">
- <meta name="description" content="Lessons about the Elixir programming language, inspired by Twitter’s Scala School.">
+ <meta name="description" content="{{ site.description[lang] }}">
<meta name="author" content="Sean Callan">
- <meta property="og:url" content="https://elixirschool.com/">
+ <meta property="og:url" content="{{ site.url }}{{ page.url }}">
<meta property="og:site_name" content="ElixirSchool">
<meta property="og:title" content="{% include title.html %}">
- <meta property="og:description" content="Lessons about the Elixir programming language, inspired by Twitter’s Scala School.">
+ <meta property="og:description" content="{{ site.description[lang] }}">
<meta property="og:image" content="{{ site.og_image }}">
<title>
@@ -1,9 +1,8 @@
<!DOCTYPE html>
+{% assign lang = page.lang || site.default_lang %}
<html lang="en-us">
-
{% include head.html %}
- {% assign lang = page.lang || site.default_lang %}
{% if site.rtl_languages contains lang %}
{% assign body_class = 'rtl' %}
{% endif %}

0 comments on commit 96708a0

Please sign in to comment.