1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

add fallback description

This commit is contained in:
Ben Balter 2015-10-23 17:58:46 -04:00
parent 4f54fc5c07
commit 34368e5c32
3 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
--- ---
title: Choose a License title: Choose a License
description: A site to provide non-judgmental guidance on choosing a license for your open source project
relative_permalinks: false relative_permalinks: false
markdown: kramdown markdown: kramdown
url: "http://choosealicense.com" url: "http://choosealicense.com"

View File

@ -7,7 +7,7 @@
{% if page.description %} {% if page.description %}
{% assign seo_description = page.description | strip_html | strip_newlines %} {% assign seo_description = page.description | strip_html | strip_newlines %}
{% else %} {% else %}
{% assign seo_description = site.tagline | strip_html | strip_newlines %} {% assign seo_description = site.description | strip_html | strip_newlines %}
{% endif %} {% endif %}
<!-- le seo --> <!-- le seo -->

View File

@ -3,7 +3,6 @@ layout: default
class: home class: home
hide_breadcrumbs: true hide_breadcrumbs: true
title: Choosing an open source license doesnt need to be scary title: Choosing an open source license doesnt need to be scary
description: A site to provide non-judgmental guidance on choosing a license for your open source project
permalink: / permalink: /
--- ---