|
12 | 12 | <link rel="shortcut icon" href="/assets/img/favicon.jpg" /> |
13 | 13 | <link rel="alternate" type="application/atom+xml" href="/atom.xml" title="Atom Feed"> |
14 | 14 |
|
15 | | - <title>{{ page.title }} | WP-CLI</title> |
16 | | - <meta name="description" content="{{ page.description | default: 'The command line interface for WordPress' }}"> |
| 15 | + <title>{% if page.title == "WP-CLI" or page.title == nil %}WP-CLI - The command line interface for WordPress{% else %}{{ page.title }} | WP-CLI{% endif %}</title> |
| 16 | + <meta name="description" content="{{ page.description | default: 'WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.' }}"> |
17 | 17 | <meta property="og:type" content="website" /> |
18 | | - <meta property="og:title" content="{{ page.title | default: 'WP-CLI' }}" /> |
| 18 | + <meta property="og:title" content="{% if page.title == "WP-CLI" or page.title == nil %}WP-CLI - The command line interface for WordPress{% else %}{{ page.title }}{% endif %}" /> |
19 | 19 | <meta property="og:url" content="{{ site.url }}{{ page.url }}" /> |
20 | | - <meta property="og:description" content="{{ page.description | default: 'The command line interface for WordPress' }}" /> |
| 20 | + <meta property="og:description" content="{{ page.description | default: 'WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.' }}" /> |
21 | 21 | <meta property="og:site_name" content="WP-CLI" /> |
22 | 22 | <meta property="og:image" content="{{ site.url }}/assets/img/wp-cli-og-image.png" /> |
23 | 23 | <meta property="og:image:alt" content="WP-CLI Logo" /> |
24 | 24 | <meta property="og:locale" content="en_US" /> |
25 | 25 | <meta name="twitter:site" content="@wpcli" /> |
26 | | - <meta name="twitter:title" content="{{ page.title | default: 'WP-CLI' }}" /> |
27 | | - <meta name="twitter:description" content="{{ page.description | default: 'The command line interface for WordPress' }}" /> |
| 26 | + <meta name="twitter:title" content="{% if page.title == "WP-CLI" or page.title == nil %}WP-CLI - The command line interface for WordPress{% else %}{{ page.title }}{% endif %}" /> |
| 27 | + <meta name="twitter:description" content="{{ page.description | default: 'WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installations and much more, without using a web browser.' }}" /> |
28 | 28 | <meta name="twitter:image" content="{{ site.url }}/assets/img/wp-cli-og-image.png" /> |
29 | 29 | <meta name="twitter:card" content="summary_large_image" /> |
30 | 30 |
|
|
0 commit comments