Skip to content

Commit

Permalink
Release v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroborges committed Jul 7, 2018
1 parent 7553471 commit e6259f5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions changelog.md
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
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]>
2 changes: 1 addition & 1 deletion src/MetaTags.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6259f5

Please sign in to comment.