Skip to content

Commit 6fb1b54

Browse files
committed
Release v1.1.0
1 parent 749cc43 commit 6fb1b54

File tree

4 files changed

+34
-3
lines changed

4 files changed

+34
-3
lines changed

changelog.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [1.1.0] - 2018-07-07
5+
### Added
6+
- Support for JSON-LD schema:
7+
8+
```php
9+
'json-ld' => [
10+
'Organization' => [
11+
'name' => $site->title()->value(),
12+
'url' => $site->url(),
13+
"contactPoint" => [
14+
'@type' => 'ContactPoint',
15+
'telephone' => $site->phoneNumber()->value(),
16+
'contactType' => 'customer service'
17+
]
18+
]
19+
]
20+
```
21+
22+
- Support for rendering one tag or a specific group of tags:
23+
24+
```php
25+
<?php echo $page->metaTags('title') ?>
26+
27+
// or passing an array
28+
29+
<?php echo $page->metaTags(['og', 'twitter', 'json-ld']) ?>
30+
```
31+
32+
### Fixed
33+
- Tags with empty value being rendered with invalid markup.
34+
435
## [1.0.0] - 2017-11-15
536
The previous version has been stable enough and no issue has been reported in 8 months :smiley:
637

meta-tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Kirby Meta Tags Plugin
55
*
6-
* @version 1.0.0
6+
* @version 1.1.0
77
* @author Pedro Borges <[email protected]>
88
* @copyright Pedro Borges <[email protected]>
99
* @link https://github.com/pedroborges/kirby-meta-tags

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "meta-tags",
33
"author": "Pedro Borges <[email protected]>",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"description": "Kirby Meta Tags",
66
"type": "kirby-plugin",
77
"license": "MIT"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,4 +393,4 @@ All notable changes to this project will be documented at: <https://github.com/p
393393
## License
394394
Meta Tags plugin is open-sourced software licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
395395

396-
Copyright © 2017 Pedro Borges <[email protected]>
396+
Copyright © 2018 Pedro Borges <[email protected]>

0 commit comments

Comments
 (0)