-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7553471
commit e6259f5
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,31 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
## [0.0.2] - 2018-07-07 | ||
### Added | ||
- Support for JSON-LD schema: | ||
|
||
```php | ||
$tags = new MetaTags; | ||
$tags->jsonld([ | ||
'@context' => 'http://schema.org', | ||
'@type': 'Person', | ||
'name': 'Pedro Borges' | ||
]); | ||
``` | ||
|
||
- Support for rendering one tag or a specific group of tags: | ||
|
||
```php | ||
<?php echo $tags->render('json-ld') ?> | ||
|
||
// or pass an array | ||
|
||
<?php echo $tags->render(['og', 'twitter']) ?> | ||
``` | ||
|
||
### Fixed | ||
- Tags with empty value being rendered with invalid markup. | ||
|
||
## [0.0.1] - 2017-02-28 | ||
### Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,4 +101,4 @@ All notable changes to this project will be documented at: <https://github.com/p | |
## License | ||
Meta Tags is open-sourced software licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php). | ||
|
||
Copyright © 2017 Pedro Borges <[email protected]> | ||
Copyright © 2018 Pedro Borges <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
/** | ||
* PHP Meta Tags | ||
* | ||
* @version 0.0.1 | ||
* @version 0.0.2 | ||
* @author Pedro Borges <[email protected]> | ||
* @copyright Pedro Borges <[email protected]> | ||
* @link https://github.com/pedroborges/meta-tags | ||
|