Update more meta descriptions

This commit is contained in:
Rico Sta. Cruz 2017-10-10 23:47:03 +08:00
parent ed6292147a
commit 40bb4bf244
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
6 changed files with 15 additions and 5 deletions

View File

@ -1,11 +1,13 @@
{% {%
if page.description and page.intro
%}{{ page.description }} {{ page.intro | markdownify | strip_html }}{%
if page.description if page.description
%}{{ page.description }}{% %}{{ page.description }}{%
elsif page.intro 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' 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 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 endif
%} %}

View File

@ -4,6 +4,8 @@ category: CLI
layout: 2017/sheet layout: 2017/sheet
tags: [Featured] tags: [Featured]
updated: 2017-08-26 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 Getting started

View File

@ -4,6 +4,8 @@ category: CSS
layout: 2017/sheet layout: 2017/sheet
tags: [Featured] tags: [Featured]
updated: 2017-08-26 updated: 2017-08-26
intro: |
Here's a 4-line snippet on how to get beautiful, antialiased text with CSS.
--- ---
### Antialias ### Antialias

2
es6.md
View File

@ -5,6 +5,8 @@ layout: 2017/sheet
tags: [Featured] tags: [Featured]
updated: 2017-10-02 updated: 2017-10-02
weight: -10 weight: -10
intro: |
A quick overview of new JavaScript features in ES2015, ES2016, ES2017 and beyond.
--- ---
### Block scoping ### Block scoping

View File

@ -5,7 +5,7 @@ layout: 2017/sheet
weight: -3 weight: -3
updated: 2017-09-04 updated: 2017-09-04
intro: | 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 ### Parameters

View File

@ -6,8 +6,10 @@ ads: true
tags: [Featured] tags: [Featured]
updated: 2017-10-10 updated: 2017-10-10
weight: -10 weight: -10
description: |
One-page reference to React's components, lifecycle hooks. Complete with practical examples and more.
intro: | 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%} {%raw%}