diff --git a/_config.yml b/_config.yml index 167a0e1..77dfcc7 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ --- -title: ChooseALicense.com +title: Choose a License relative_permalinks: false markdown: kramdown url: "http://choosealicense.com" @@ -43,3 +43,7 @@ gems: sass: sass_dir: _sass style: :compressed + +twitter: + username: "@github" + account_id: "13334762" diff --git a/_includes/header.html b/_includes/header.html index 118b2c9..3960ebb 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -3,8 +3,7 @@ - {% if page.title %}{{ page.title | markdownify | strip_html | strip_newlines }} - {% endif %}{{ site.title}} - {% if page.description %}{% endif %} + @@ -13,6 +12,8 @@ + + {% include seo.html %}
diff --git a/_includes/seo.html b/_includes/seo.html new file mode 100644 index 0000000..3e80026 --- /dev/null +++ b/_includes/seo.html @@ -0,0 +1,31 @@ + {% if page.title %} + {% capture seo_title %}{{ page.title | markdownify | strip_html | strip_newlines }} - {{ site.title }}{% endcapture %} + {% else %} + {% assign seo_title = site.title %} + {% endif %} + + {% if page.description %} + {% assign seo_description = page.description | strip_html | strip_newlines %} + {% else %} + {% assign seo_description = site.tagline | strip_html | strip_newlines %} + {% endif %} + + + {{ seo_title }} + + + + + + + + + + + + + + + + + diff --git a/assets/css/application.scss b/assets/css/application.scss index efbce01..fc3f71e 100644 --- a/assets/css/application.scss +++ b/assets/css/application.scss @@ -72,7 +72,7 @@ strong { } .home h1 { - font-size: 63px; + font-size: 60px; } .home h2 { diff --git a/index.html b/index.html index fbef291..73443b1 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ layout: default class: home hide_breadcrumbs: true -title: Choosing an OSS license doesn’t need to be scary +title: Choosing an open source license doesn’t need to be scary description: A site to provide non-judgmental guidance on choosing a license for your open source project permalink: / ---