Skip to content

Commit

Permalink
Changed meta descriptions and og:url to show proper information. (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
yosangwon authored and Oleksandr Rozumii committed Jul 16, 2016
1 parent 636cf23 commit 96708a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions _includes/head.html
Expand Up @@ -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>
Expand Down
3 changes: 1 addition & 2 deletions _layouts/default.html
@@ -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 %}
Expand Down

0 comments on commit 96708a0

Please sign in to comment.