diff --git a/_includes/values/description.html b/_includes/values/description.html index 12deb84dc..2c4889936 100644 --- a/_includes/values/description.html +++ b/_includes/values/description.html @@ -1,11 +1,13 @@ {% + if page.description and page.intro +%}{{ page.description }} {{ page.intro | markdownify | strip_html }}{% if page.description %}{{ page.description }}{% elsif page.intro -%}{{ page.intro | markdownify | strip_html }}{% +%}One-page guide to {{ page.title }}: usage, examples, and more. {{ page.intro | markdownify | strip_html }}{% elsif page.type == 'article' -%}One-page reference for {{ page.title }}: usage, examples, links, snippets, and more.{% +%}The one-page guide to {{ page.title }}: usage, examples, links, snippets, and more.{% else -%}One-page reference for {{ page.title }}: usage, examples, links, snippets, and more.{% +%}The one-page guide to {{ page.title }}: usage, examples, links, snippets, and more.{% endif %} diff --git a/bash.md b/bash.md index ff356bf9b..2462a433f 100644 --- a/bash.md +++ b/bash.md @@ -4,6 +4,8 @@ category: CLI layout: 2017/sheet tags: [Featured] updated: 2017-08-26 +description: | + One-page reference on Bash shell scripting. Learn about variables, functions, errors, process ID's with examples and more. --- Getting started diff --git a/css-antialias.md b/css-antialias.md index 0bdc826bf..8268bd94a 100644 --- a/css-antialias.md +++ b/css-antialias.md @@ -4,6 +4,8 @@ category: CSS layout: 2017/sheet tags: [Featured] updated: 2017-08-26 +intro: | + Here's a 4-line snippet on how to get beautiful, antialiased text with CSS. --- ### Antialias diff --git a/es6.md b/es6.md index a0714129d..d1cdcf1d2 100644 --- a/es6.md +++ b/es6.md @@ -5,6 +5,8 @@ layout: 2017/sheet tags: [Featured] updated: 2017-10-02 weight: -10 +intro: | + A quick overview of new JavaScript features in ES2015, ES2016, ES2017 and beyond. --- ### Block scoping diff --git a/httpie.md b/httpie.md index f50af9400..9ad17830a 100644 --- a/httpie.md +++ b/httpie.md @@ -5,7 +5,7 @@ layout: 2017/sheet weight: -3 updated: 2017-09-04 intro: | - Usage reference and examples for [HTTPie](https://httpie.org/), a command-line HTTP client. + [HTTPie](https://httpie.org/) is a command-line HTTP client. --- ### Parameters diff --git a/react.md b/react.md index 6c285d480..82f2831f1 100644 --- a/react.md +++ b/react.md @@ -6,8 +6,10 @@ ads: true tags: [Featured] updated: 2017-10-10 weight: -10 +description: | + One-page reference to React's components, lifecycle hooks. Complete with practical examples and more. intro: | - One-page reference to [React](https://reactjs.org/)'s components, lifecycle hooks, with examples and more. React is a JavaScript library for building user interfaces. This guide targets React v15 to v16. + [React](https://reactjs.org/) is a JavaScript library for building user interfaces. This guide targets React v15 to v16. --- {%raw%}