add fallback description
This commit is contained in:
Родитель
4f54fc5c07
Коммит
34368e5c32
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Choose a License
|
||||
description: A site to provide non-judgmental guidance on choosing a license for your open source project
|
||||
relative_permalinks: false
|
||||
markdown: kramdown
|
||||
url: "http://choosealicense.com"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
{% if page.description %}
|
||||
{% assign seo_description = page.description | strip_html | strip_newlines %}
|
||||
{% else %}
|
||||
{% assign seo_description = site.tagline | strip_html | strip_newlines %}
|
||||
{% assign seo_description = site.description | strip_html | strip_newlines %}
|
||||
{% endif %}
|
||||
|
||||
<!-- le seo -->
|
||||
|
|
|
@ -3,7 +3,6 @@ layout: default
|
|||
class: home
|
||||
hide_breadcrumbs: true
|
||||
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: /
|
||||
---
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче